summaryrefslogtreecommitdiff
path: root/packages/libmatchbox/libmatchbox_svn.bb
blob: 8aeac870e57244e870bae004936ad04dc77b2af3 (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
25
26
27
28
29
30
31
32
SECTION = "x11/libs"
DESCRIPTION = "Matchbox window manager core library"
LICENSE = "GPL"
DEPENDS = "x11 xext libxft pango jpeg libpng zlib libxsettings-client"
PV = "1.5cvs${CVSDATE}"
DEFAULT_PREFERENCE = "-1"

SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http\
		file://check.m4"
inherit autotools  pkgconfig

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

S = ${WORKDIR}/${PN}

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

do_configure_prepend () {
        mv ${WORKDIR}/check.m4 ${S}/
}



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}
}