diff options
author | mixja <justin.menga@gmail.com> | 2016-04-10 14:54:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-12 14:23:08 +0000 |
commit | d6d64546568aae6acf69657ad870723add72a16f (patch) | |
tree | b2e75acb53480f9ab46f21602aec113a6a15bb21 /testing/lbzip2/APKBUILD | |
parent | 94e49d4543dc33aaae6de003a66052dcb8e8f987 (diff) | |
download | aports-d6d64546568aae6acf69657ad870723add72a16f.tar.bz2 aports-d6d64546568aae6acf69657ad870723add72a16f.tar.xz |
testing/lbzip2: new aport
http://lbzip2.org
lbzip2 - A parallel bzip2 compression utility
Diffstat (limited to 'testing/lbzip2/APKBUILD')
-rw-r--r-- | testing/lbzip2/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/lbzip2/APKBUILD b/testing/lbzip2/APKBUILD new file mode 100644 index 0000000000..0a1d5b0088 --- /dev/null +++ b/testing/lbzip2/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Justin Menga <justin.menga@gmail.com> +# Maintainer: Justin Menga <justin.menga@gmail.com> +pkgname=lbzip2 +pkgver=2.5 +pkgrel=0 +pkgdesc="A parallel bzip2 compression utility" +url="http://lbzip2.org" +arch="all" +license="GPL2+" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://archive.lbzip2.org/$pkgname-$pkgver.tar.gz" + +_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" + ./configure --prefix=/usr + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir/" install +} +md5sums="3ea4796a9c3941cef1dce1fa7f5b7410 lbzip2-2.5.tar.gz" +sha256sums="46c75ee93cc95eedc6005625442b2b8e59a2bef3ba80987d0491f055185650e9 lbzip2-2.5.tar.gz" +sha512sums="76e96cfa75b3ed515b2f891349dffc1403daab2dd0a2a614fa0c811cec6ca25faa395da08ad68a9b6ba4069332c4571f70fb7424f06ef3d800c3082c08d7d3d7 lbzip2-2.5.tar.gz" |