diff options
| author | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-06 22:03:33 +0100 |
|---|---|---|
| committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-06 22:03:33 +0100 |
| commit | cbe73ad0a7d2744c44cb35b5437ec77071fdaaaa (patch) | |
| tree | 150c91d9bd6b59fad6535175175909f3759248b4 | |
| parent | d662abbf343148fd599022f797b021ca889c79c3 (diff) | |
| download | aports-cbe73ad0a7d2744c44cb35b5437ec77071fdaaaa.tar.bz2 aports-cbe73ad0a7d2744c44cb35b5437ec77071fdaaaa.tar.xz | |
main/jemalloc: improve abuild
| -rw-r--r-- | main/jemalloc/APKBUILD | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/main/jemalloc/APKBUILD b/main/jemalloc/APKBUILD index 6ac48cc9a4..ec30926841 100644 --- a/main/jemalloc/APKBUILD +++ b/main/jemalloc/APKBUILD @@ -8,26 +8,14 @@ url="http://www.canonware.com/jemalloc/" arch="all" license="BSD" depends="" -depends_dev="" -makedepends="$depends_dev" -install="" +makedepends="" subpackages="$pkgname-dev $pkgname-doc" source="http://www.canonware.com/download/jemalloc/$pkgname-$pkgver.tar.bz2 jemalloc-no-pprof.patch" - -_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 -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -41,7 +29,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |
