summaryrefslogtreecommitdiff
path: root/zziplib/zziplib_0.10.82.oe
blob: 27f93a97e1b423f0251bd7bebf7922b29d08b55e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "Support library for dealing with zip files"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "virtual/libc"

SRC_URI = "${SOURCEFORGE_MIRROR}/zziplib/zziplib-${PV}.tar.bz2"

inherit autotools libtool pkgconfig

do_stage() {
	oe_libinstall -a -so libzzip-0 ${STAGING_LIBDIR}
	ln -sf libzzip-0.so ${STAGING_LIBDIR}/libzzip.so
	oe_libinstall -a -so -C zzipwarp libzzipwrap-0 ${STAGING_LIBDIR}
	ln -sf libzzipwrap-0.so ${STAGING_LIBDIR}/libzzipwrap.so

	install -d ${STAGING_INCDIR}/readline
	for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h \
	  rlconf.h rltypedefs.h
	do
		install -m 0644 ${f} ${STAGING_INCDIR}/readline
	done

}