diff options
Diffstat (limited to 'unmaintained/genext2fs/APKBUILD')
-rw-r--r-- | unmaintained/genext2fs/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/unmaintained/genext2fs/APKBUILD b/unmaintained/genext2fs/APKBUILD new file mode 100644 index 0000000000..0809bd3a68 --- /dev/null +++ b/unmaintained/genext2fs/APKBUILD @@ -0,0 +1,48 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=genext2fs +pkgver=1.4.1 +pkgrel=0 +pkgdesc="Tool for generating an ext2 filesystem as non-root" +url="http://genext2fs.sourceforge.net/" +arch="all" +license="GPLv2" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/genext2fs/genext2fs/$pkgver/genext2fs-$pkgver.tar.gz" + +_builddir="$srcdir"/genext2fs-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="b7b6361bcce2cedff1ae437fadafe53b genext2fs-1.4.1.tar.gz" +sha256sums="404dbbfa7a86a6c3de8225c8da254d026b17fd288e05cec4df2cc7e1f4feecfc genext2fs-1.4.1.tar.gz" +sha512sums="1b9ec7044014423345ae6b09862ba6903f5b3e0f68fb8bbcf97daf2705471cc1633a9fdbc5e00afe1b191e1af7bed87bde2e538bc7365469218f2a00b062845c genext2fs-1.4.1.tar.gz" |