diff options
-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 } |