diff options
Diffstat (limited to 'main/e2fsprogs/APKBUILD')
-rw-r--r-- | main/e2fsprogs/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD new file mode 100644 index 000000000..eedabbffa --- /dev/null +++ b/main/e2fsprogs/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=e2fsprogs +pkgver=1.41.8 +pkgrel=0 +pkgdesc="Standard Ext2/3/4 filesystem utilities" +url="http://e2fsprogs.sourceforge.net" +license="GPL LGPL MIT" +depends= +subpackages="$pkgname-dev $pkgname-doc libuuid libcom_err libblkid" +source="http://downloads.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-$pkgver.tar.gz" + +build () { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure \ + --mandir=/usr/share/man \ + --enable-elf-shlibs \ + --disable-uuidd \ + --disable-tls \ + --disable-nls + + make || return 1 + make LDCONFIG=: DESTDIR=${pkgdir} install install-libs || return 1 +} + +libuuid() { + depends= + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/libuuid* "$subpkgdir"/lib/ +} + +libcom_err() { + depends= + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/libcom_err* "$subpkgdir"/lib/ +} + +libblkid() { + depends= + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/libblkid* "$subpkgdir"/lib/ +} + +md5sums="6708cc8e484809fc5cfb232882e48489 e2fsprogs-1.41.8.tar.gz" |