diff options
Diffstat (limited to 'main/busybox/APKBUILD')
-rw-r--r-- | main/busybox/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD index 16dbdfd66f..54b4f67cee 100644 --- a/main/busybox/APKBUILD +++ b/main/busybox/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=busybox pkgver=1.16.0 -pkgrel=0 +pkgrel=1 pkgdesc="Size optimized toolbox of many common UNIX utilities" url=http://busybox.net license="GPL-2" @@ -10,11 +10,12 @@ install="$pkgname.post-install $pkgname.post-upgrade" triggers="busybox.trigger:/bin /usr/bin /sbin /usr/sbin /lib/modules/*" source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2 $pkgname-1.11.1-bb.patch + wget-proxy-user.patch busyboxconfig" -build() { - cd "$srcdir"/$pkgname-$pkgver - +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" #patches for i in ../*.patch; do msg "Applying $i" @@ -32,13 +33,16 @@ build() { # on abuild version sed -e "s:^CONFIG_PREFIX=.*:CONFIG_PREFIX=\"$pkgdir\":" \ ../busyboxconfig > .config +} +build() { + cd "$_builddir" make silentoldconfig || return 1 make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make install DESTDIR="$pkgdir" mkdir -p "$pkgdir"/usr/sbin "$pkgdir"/usr/bin "$pkgdir"/tmp \ "$pkgdir"/var/cache/misc @@ -49,4 +53,5 @@ package() { md5sums="2130884e71a1648bfb63c3250c1d288c busybox-1.16.0.tar.bz2 4c0f3b486eaa0674961b7ddcd0c60a9b busybox-1.11.1-bb.patch +8e1c898ec233f6759bca72367ee934fd wget-proxy-user.patch 9743e7ecd48f37b0d420f64bef7fb2a8 busyboxconfig" |