aboutsummaryrefslogtreecommitdiffstats
path: root/testing/util-linux-ng
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-21 12:03:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-21 12:03:43 +0000
commitf0766442f9e1696bd459b4b4cbdc9a82bac5d042 (patch)
tree2050ce90156081420e5ff7730ee5f92250391035 /testing/util-linux-ng
parent876572656289882fe03d75b2c8f34174594229c4 (diff)
downloadaports-f0766442f9e1696bd459b4b4cbdc9a82bac5d042.tar.bz2
aports-f0766442f9e1696bd459b4b4cbdc9a82bac5d042.tar.xz
testing/util-linux-ng: moved from extra
Diffstat (limited to 'testing/util-linux-ng')
-rw-r--r--testing/util-linux-ng/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/util-linux-ng/APKBUILD b/testing/util-linux-ng/APKBUILD
new file mode 100644
index 0000000000..4dd5c3e083
--- /dev/null
+++ b/testing/util-linux-ng/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Leonardo Arena <rnalrd@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=util-linux-ng
+pkgver=2.14.1
+pkgrel=0
+pkgdesc="Random collection of Linux utilities"
+arch=""
+url="http://kernel.org/~kzak/util-linux-ng/"
+license="GPL-2 GPL Public Domain"
+depends="uclibc libuuid"
+makedepends="e2fsprogs-dev"
+install=
+source="http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.14/$pkgname-$pkgver.tar.gz"
+subpackages="$pkgname-doc"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -e 's/versionsort/alphasort/g'\
+ -e 's/strverscmp.h/dirent.h/g' \
+ -i mount/lomount.c
+
+ ./configure --prefix=/usr \
+ --without-ncurses \
+ --disable-init \
+ --disable-nls \
+ --disable-kill \
+ --without-pam
+
+ make || return 1
+ make install DESTDIR=$pkgdir
+}
+
+md5sums="17bafd53cf242accd716d2306a2c6582 util-linux-ng-2.14.1.tar.gz"