summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"