aboutsummaryrefslogtreecommitdiffstats
path: root/core/busybox/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-26 06:35:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-26 06:35:45 +0000
commit2a97e81b88003d4ba0fbe4b2cf108f08f3f8e853 (patch)
tree503a0586c4cdf509ededb31eede4d58d8cb1afc2 /core/busybox/APKBUILD
parentdea8bc4a557c35de89e9cbff2ec8f3d616f17049 (diff)
downloadaports-2a97e81b88003d4ba0fbe4b2cf108f08f3f8e853.tar.gz
aports-2a97e81b88003d4ba0fbe4b2cf108f08f3f8e853.tar.bz2
aports-2a97e81b88003d4ba0fbe4b2cf108f08f3f8e853.tar.xz
core/busybox: save history. fix install prefix
The install prefix might differ, depending on version of abuild so we set it with sed from the APKBUILD.
Diffstat (limited to 'core/busybox/APKBUILD')
-rw-r--r--core/busybox/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/busybox/APKBUILD b/core/busybox/APKBUILD
index d0119f6a61..a6ad2e1937 100644
--- a/core/busybox/APKBUILD
+++ b/core/busybox/APKBUILD
@@ -28,7 +28,11 @@ build() {
fi
done
- cp ../busyboxconfig .config
+ # we set the install prefix with sed since it might differ depending
+ # on abuild version
+ sed -e "s:^CONFIG_PREFIX=.*:CONFIG_PREFIX=\"$pkgdir\":" \
+ ../busyboxconfig > .config
+
make silentoldconfig || return 1
make || return 1
make install DESTDIR="$pkgdir"
@@ -46,4 +50,4 @@ a743ec04f378b8456a725c7270b0be8b busybox-1.13.2-modprobe-errormsg.patch
0b5b2d7db201f90cd08f4a3164ee29a1 bb-tar-numeric-owner.patch
56b78c358797cd15fb64719a48939267 busybox.post-install
56b78c358797cd15fb64719a48939267 busybox.post-upgrade
-f28a6eedb13cbaa85e1b4d23cb9042ff busyboxconfig"
+2ecfd91c98b347be6834a9c0f3a42f52 busyboxconfig"