aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-06-30 15:47:16 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-06-30 15:57:13 +0200
commitff1041f92bcd425a75db303e862f7c2272a8773f (patch)
tree69d55d91bc73d04ef2756f0dd6b2bfcebed04481 /testing
parent259fbee3d88ef6e60333b2d253d1aee0657e9c41 (diff)
downloadaports-ff1041f92bcd425a75db303e862f7c2272a8773f.tar.bz2
aports-ff1041f92bcd425a75db303e862f7c2272a8773f.tar.xz
testing/dietlibc: pass prefix during build to fix diet tool
Also change the prefix to /usr/$pkgname.
Diffstat (limited to 'testing')
-rw-r--r--testing/dietlibc/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/dietlibc/APKBUILD b/testing/dietlibc/APKBUILD
index 4b5df0e7a2..b588e81085 100644
--- a/testing/dietlibc/APKBUILD
+++ b/testing/dietlibc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=dietlibc
pkgver=0.33
-pkgrel=0
+pkgrel=1
pkgdesc="a libc optimized for small size"
url="http://www.fefe.de/dietlibc/"
arch="x86_64"
@@ -16,11 +16,12 @@ source="http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
- make -C "$_builddir" || return 1
+ make prefix=/usr/$pkgname \
+ -C "$_builddir" || return 1
}
package() {
- make prefix=/usr/diet DESTDIR="$pkgdir" \
+ make prefix=/usr/$pkgname DESTDIR="$pkgdir" \
BINDIR=/usr/bin MAN1DIR=/usr/share/man/man1 \
-C "$_builddir" install || return 1