summaryrefslogtreecommitdiff
path: root/libmatchbox/libmatchbox_1.2.oe
blob: 947291787136de8a08c3a49208e9fccbded347e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PR = "r1"
DESCRIPTION = "Matchbox window manager core library"
LICENSE = "GPL"
DEPENDS = "x11 xext xft pango jpeg libpng zlib libxsettings-client"

SRC_URI = "ftp://ftp.handhelds.org/matchbox/sources/libmatchbox/${PV}/libmatchbox-${PV}.tar.bz2"
S = "${WORKDIR}/libmatchbox-${PV}"

inherit autotools  pkgconfig

EXTRA_OECONF = "--enable-jpeg --enable-pango --enable-xsettings"

headers = "hash.h mbconfig.h mbdotdesktop.h mbexp.h \
	   mb.h mbmenu.h mbpixbuf.h mbtray.h mbutil.h"

do_stage () {
	install -d ${STAGING_INCDIR}/libmb
	for h in ${headers}; do
		install -m 0644 ${S}/libmb/$h ${STAGING_INCDIR}/libmb/
	done

	oe_libinstall -a -so -C libmb libmb ${STAGING_LIBDIR}
}