summaryrefslogtreecommitdiffstats
path: root/main/abuild
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-04 17:17:49 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-04 17:17:49 +0100
commitd81bd92f61fa03506ed872ecc8e73866558a3b7a (patch)
treed6ec97a7aff1d92309233b544bf9fe260378b770 /main/abuild
parent62d8f480832b4225aabf2d34c26b97447f2d5193 (diff)
downloadaports-d81bd92f61fa03506ed872ecc8e73866558a3b7a.tar.bz2
aports-d81bd92f61fa03506ed872ecc8e73866558a3b7a.tar.xz
main/abuild: add support for eglibc
Diffstat (limited to 'main/abuild')
-rw-r--r--main/abuild/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index 09c8a4137..0f1a666a2 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -5,8 +5,13 @@ pkgver=2.13.1
_ver=${pkgver%_git*}
pkgrel=0
url=http://git.alpinelinux.org/cgit/abuild/
-depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1 uclibc-utils
+depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1
abuildhelper curl"
+if [ $ALPINE_LIBC = "eglibc" ]; then
+ depends="$depends eglibc-utils"
+else
+ depends="$depends uclibc-utils"
+fi
makedepends="openssl-dev pkgconfig"
install="$pkgname.pre-install $pkgname.pre-upgrade"
subpackages="apkbuild-cpan:cpan"