diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-26 11:10:07 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-26 11:10:07 +0200 |
commit | a39e19f96447a409ae6f6c1c63d3c16feb1a3991 (patch) | |
tree | 148fdebc95bfd8788f91996703d2094c1b8df4da /testing/zziplib/APKBUILD | |
parent | c5240dc4d2a5efc26b94c943d87848e51ba2794b (diff) | |
download | aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.bz2 aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.xz |
unmaintained/[multiple] move back packages to testing
move back packages that are depends of other packages in testing
Diffstat (limited to 'testing/zziplib/APKBUILD')
-rw-r--r-- | testing/zziplib/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/zziplib/APKBUILD b/testing/zziplib/APKBUILD new file mode 100644 index 0000000000..77ce928541 --- /dev/null +++ b/testing/zziplib/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Mika Havela <mika.havela@gmail.com> +# Maintainer: Mika Havela <mika.havela@gmail.com> +pkgname=zziplib +pkgver=0.13.62 +pkgrel=2 +pkgdesc="Lightweight library to easily extract data from zip files" +url="http://zziplib.sourceforge.net" +arch="all" +license="LGPL2+ or MPL 1.1" +depends="" +depends_dev="zlib-dev" +makedepends="$depends_dev perl python" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-utils" +source="http://downloads.sourceforge.net/zziplib/zziplib-${pkgver}.tar.bz2" + +_builddir="$srcdir"/zziplib-${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 \ + --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" |