aboutsummaryrefslogtreecommitdiffstats
path: root/main/coreutils
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-06 06:52:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-06 06:54:44 +0000
commitb3d23e84d1f40f4beeb856844da67a8b25b06140 (patch)
tree51bd3a0729ccfc612d7167952cf402aa95eb219e /main/coreutils
parent2bf9bd38eb8685a170d201fa253868968f40d125 (diff)
downloadaports-b3d23e84d1f40f4beeb856844da67a8b25b06140.tar.bz2
aports-b3d23e84d1f40f4beeb856844da67a8b25b06140.tar.xz
main/coreutils: try match better where busybox places things
we default to /usr prefix and move things that busybox has in /bin to /bin and do same with /usr/sbin
Diffstat (limited to 'main/coreutils')
-rw-r--r--main/coreutils/APKBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/main/coreutils/APKBUILD b/main/coreutils/APKBUILD
index 964530133f..a1f7bde3ca 100644
--- a/main/coreutils/APKBUILD
+++ b/main/coreutils/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=coreutils
pkgver=8.10
-pkgrel=0
+pkgrel=1
pkgdesc="The basic file, shell and text manipulation utilities"
url="http://www.gnu.org/software/coreutils/"
arch="all"
@@ -15,7 +15,7 @@ source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/ \
+ ./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -29,6 +29,17 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+ return 0
+ install -d "$pkgdir"/bin "$pkgdir"/usr/sbin
+ cd "$pkgdir"/usr/bin/
+
+ # binaries that busybox puts in /bin
+ mv base64 cat chgrp chmod chown cp date dd df 'echo' false ln ls \
+ mkdir mknod mktemp mv nice printenv pwd rm rmdir sleep stat \
+ stty sync touch true uname \
+ "$pkgdir"/bin
+
+ mv chroot "$pkgdir"/usr/sbin/
}
md5sums="74d54d09fc5c1bd3337127f49c88b1c5 coreutils-8.10.tar.gz"