diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-15 07:45:07 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-15 07:45:07 +0000 |
commit | 03bb8d14be82456d04f3d3b0c4120b9093b1c633 (patch) | |
tree | 2d21268641e651cce1a8802bcac4cfb47b05d079 /community/zziplib | |
parent | 9bca557a059449f19ba2b83a3c73ed39a7d8b3e9 (diff) | |
download | aports-03bb8d14be82456d04f3d3b0c4120b9093b1c633.tar.bz2 aports-03bb8d14be82456d04f3d3b0c4120b9093b1c633.tar.xz |
community/zziplib: moved from testing
Diffstat (limited to 'community/zziplib')
-rw-r--r-- | community/zziplib/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/zziplib/APKBUILD b/community/zziplib/APKBUILD new file mode 100644 index 0000000000..264d3dab9e --- /dev/null +++ b/community/zziplib/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Mika Havela <mika.havela@gmail.com> +# Maintainer: Mika Havela <mika.havela@gmail.com> +pkgname=zziplib +pkgver=0.13.62 +pkgrel=3 +pkgdesc="Lightweight library to easily extract data from zip files" +url="http://zziplib.sourceforge.net" +arch="all" +license="LGPL2+ MPL-1.1" +depends="" +depends_dev="zlib-dev" +makedepends="$depends_dev perl python" +subpackages="$pkgname-dev $pkgname-doc $pkgname-utils" +source="http://downloads.sourceforge.net/zziplib/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare || return 1 + update_config_guess +} + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --disable-static \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +utils() { + pkgdesc="Utilities for the zziplib library" + install -d "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +md5sums="5fe874946390f939ee8f4abe9624b96c zziplib-0.13.62.tar.bz2" +sha256sums="a1b8033f1a1fd6385f4820b01ee32d8eca818409235d22caf5119e0078c7525b zziplib-0.13.62.tar.bz2" +sha512sums="fd3b9e9015ba7603bdebd8f6a2ac6d11003705bfab22f3a0025f75455042664aea69440845b59e6f389417dff5ac777f49541d8cbacb2a220e67d20bb6973e25 zziplib-0.13.62.tar.bz2" |