summaryrefslogtreecommitdiff
path: root/packages/zziplib
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zziplib')
-rw-r--r--packages/zziplib/zziplib_0.10.82.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/zziplib/zziplib_0.10.82.bb b/packages/zziplib/zziplib_0.10.82.bb
index e69de29bb2..4fb129592e 100644
--- a/packages/zziplib/zziplib_0.10.82.bb
+++ b/packages/zziplib/zziplib_0.10.82.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Support library for dealing with zip files"
+SECTION = "libs"
+PRIORITY = "optional"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/zziplib/zziplib-${PV}.tar.bz2"
+LICENSE = "LGPL MPL"
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_libinstall -a -so -C zzip libzzip ${STAGING_LIBDIR}
+ oe_libinstall -a -so -C zzipwrap libzzipwrap ${STAGING_LIBDIR}
+ install -d ${STAGING_DATADIR}/aclocal
+ install -m 0644 ${S}/bins/zziplib.m4 ${STAGING_DATADIR}/aclocal/
+ for h in zzip.h zzipformat.h zzipwrap.h zziplib.h zzip-io.h; do
+ install -m 0644 ${S}/zziplib/$h ${STAGING_INCDIR}/
+ done
+ install -d ${STAGING_INCDIR}/zzip
+ for h in lib.h format.h _msvc.h conf.h file.h stdint.h zzip.h _config.h plugin.h; do
+ install -m 0644 ${S}/zzip/$h ${STAGING_INCDIR}/zzip/
+ done
+}