diff --git a/common/shlibs b/common/shlibs index 198f702af02..c5f34d89c5e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1243,3 +1243,4 @@ libunwind.so.8 libunwind-1.1_1 libmicrohttpd.so.10 libmicrohttpd-0.9.26_1 libgit2.so.0 libgit2-0.18.0_1 libagg.so.2 agg-2.5_1 +libzzip-0.so.13 zziplib-0.13.62_1 diff --git a/srcpkgs/zziplib-devel b/srcpkgs/zziplib-devel new file mode 120000 index 00000000000..4b56548544c --- /dev/null +++ b/srcpkgs/zziplib-devel @@ -0,0 +1 @@ +zziplib \ No newline at end of file diff --git a/srcpkgs/zziplib/template b/srcpkgs/zziplib/template new file mode 100644 index 00000000000..a4dd82b815e --- /dev/null +++ b/srcpkgs/zziplib/template @@ -0,0 +1,37 @@ +# Template file for 'zziplib' +pkgname=zziplib +version=0.13.62 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config python" +makedepends="zlib-devel" +short_desc="A lightweight library to extract data from zip files" +maintainer="Juan RP " +homepage="http://zziplib.sourceforge.net" +license="LGPL-2.1, MPL-1.1" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" +checksum=a1b8033f1a1fd6385f4820b01ee32d8eca818409235d22caf5119e0078c7525b + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" automake libtool" + pre_configure() { + autoreconf -fi + } +fi + +zziplib-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} + +zziplib_package() { + pkg_install() { + vmove usr + } +}