summaryrefslogtreecommitdiff
path: root/eet/eet_0.0.1.oe
blob: 5cbed672691faa143fb39e204035e96d393d9234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "EET is a tiny library designed to write an \
arbitary set of chunks of data to a file and optionally compress \
each chunk (very much like a zip file) and allow fast \
random-access reading of the file later on."
SECTION = "libs"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
DEPENDS = "zlib jpeg"

SRC_URI = "${SOURCEFORGE_MIRROR}/enlightenment/eet-${PV}.tar.gz \
	   file://flags.patch;patch=1"

inherit autotools pkgconfig

do_stage () {
	oe_libinstall -C src/lib libeet ${STAGING_LIBDIR}/
	install -m 0644 ${S}/src/lib/Eet.h ${STAGING_INCDIR}/
	cat eet-config | sed -e 's,/usr/include,${STAGING_INCDIR},g; \
				      s,/usr/lib,${STAGING_LIBDIR},g; \
				      s,/usr/bin,${STAGING_BINDIR},g; \
				      s,/usr,${STAGING_LIBDIR}/..,g;' > ${STAGING_BINDIR}/eet-config
	chmod u+x ${STAGING_BINDIR}/eet-config
}