aboutsummaryrefslogtreecommitdiffstats
path: root/testing/babeltrace/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2016-06-14 08:37:11 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-06-14 08:37:11 +0200
commit384cb261e07c197d6d461fb03fbd84ffc1a59196 (patch)
tree60ba8dad0b8ae7ec58ff049e18312871a0cd8b6d /testing/babeltrace/APKBUILD
parent14e508da2958f56fcc67f1cc3b7dc55623712924 (diff)
downloadaports-384cb261e07c197d6d461fb03fbd84ffc1a59196.tar.bz2
aports-384cb261e07c197d6d461fb03fbd84ffc1a59196.tar.xz
testing/babeltrace: use default $builddir and prepare()
Diffstat (limited to 'testing/babeltrace/APKBUILD')
-rw-r--r--testing/babeltrace/APKBUILD16
1 files changed, 2 insertions, 14 deletions
diff --git a/testing/babeltrace/APKBUILD b/testing/babeltrace/APKBUILD
index 66ac85f43d..8957a5762f 100644
--- a/testing/babeltrace/APKBUILD
+++ b/testing/babeltrace/APKBUILD
@@ -14,20 +14,8 @@ install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.efficios.com/files/$pkgname/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir"/$pkgname-$pkgver
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--disable-debug-info \
@@ -37,7 +25,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}