aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-16 11:24:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-16 11:24:13 +0000
commit29016c7b815340c7769af8ca98d146400d2426f1 (patch)
treec1c5de9e4d245b919fd419cff7c7059903690940
parentc53dca816490c4c81e0e2c5d4adc5c3a0701ca8d (diff)
downloadaports-29016c7b815340c7769af8ca98d146400d2426f1.tar.bz2
aports-29016c7b815340c7769af8ca98d146400d2426f1.tar.xz
main/e2fsprogs: use util-linux-ng's libuuid and libblkid
for now we add util-linux-ng-dev as dependency for e2fsprogs-dev so we dont break our build tree.
-rw-r--r--main/e2fsprogs/APKBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD
index eedabbffa7..41ad9a0bd3 100644
--- a/main/e2fsprogs/APKBUILD
+++ b/main/e2fsprogs/APKBUILD
@@ -1,20 +1,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=e2fsprogs
pkgver=1.41.8
-pkgrel=0
+pkgrel=1
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"
+makedepends="util-linux-ng-dev pkgconfig"
+subpackages="$pkgname-dev $pkgname-doc libcom_err"
source="http://downloads.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-$pkgver.tar.gz"
+depends_dev="util-linux-ng-dev"
+
build () {
cd ${srcdir}/${pkgname}-${pkgver}
./configure \
--mandir=/usr/share/man \
--enable-elf-shlibs \
+ --disable-fsck \
--disable-uuidd \
+ --disable-libuuid \
+ --disable-libblkid \
--disable-tls \
--disable-nls
@@ -22,22 +28,10 @@ build () {
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"