summaryrefslogtreecommitdiff
path: root/packages/zziplib/zziplib_0.10.82.bb
blob: 4fb129592e89f178f8fdfe01d568bdb00650f4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}