summaryrefslogtreecommitdiffstats
path: root/core/busybox
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-24 16:06:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-24 16:06:54 +0000
commit230a508173a4ee5d9c890f2694cf8cac65ded822 (patch)
treeb33d995723bd49dc70e28441a47de29708c427c6 /core/busybox
parentdb545f8f05d497db8f3791eef015ae50d538bb2b (diff)
downloadaports-230a508173a4ee5d9c890f2694cf8cac65ded822.tar.bz2
aports-230a508173a4ee5d9c890f2694cf8cac65ded822.tar.xz
core/busybox: create /usr/bin /usr/sbin
the dirs are needed for busybox --install -s in post-install/upgrade
Diffstat (limited to 'core/busybox')
-rw-r--r--core/busybox/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/busybox/APKBUILD b/core/busybox/APKBUILD
index d75fd21b..123cf954 100644
--- a/core/busybox/APKBUILD
+++ b/core/busybox/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox
pkgver=1.13.3
-pkgrel=1
+pkgrel=2
pkgdesc="Size optimized toolbox of many common UNIX utilities"
url=http://busybox.net
license=GPL-2
@@ -18,7 +18,7 @@ source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2
busyboxconfig"
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver
#patches
for i in ../*.patch; do
@@ -32,7 +32,8 @@ build() {
cp ../busyboxconfig .config
make silentoldconfig || return 1
make || return 1
- make install DESTDIR=$pkgdir
+ make install DESTDIR="$pkgdir"
+ mkdir -p "$pkgdir"/usr/sbin "$pkgdir"/usr/bin
}
md5sums="0cde6d2790e790837d6d7e82faae3ca1 busybox-1.13.3.tar.bz2