Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / dfb++ / dfb++_0.9.20.oe
1 DESCRIPTION = "A C++ Wrapper for the directfb framebuffer library."
2 SECTION = "libs"
3 PRIORITY = "optional"
4 DEPENDS = "directfb"
5
6 LICENSE = "LGPL"
7
8 SRC_URI = "http://www.directfb.org/download/DirectFB/DFB++-${PV}.tar.gz"
9 S = "${WORKDIR}/DFB++-${PV}"
10
11 inherit autotools pkgconfig
12
13 EXTRA_OECONF = ""
14
15 do_stage() {
16         oe_runmake -C include 'libdir=/lib' 'includedir=/include/dfb++' \
17                           'oldincludedir=/include' 'datadir=/share' \
18                           'DESTDIR=${STAGING_LIBDIR}/..' \
19                           install-dfbppincludeHEADERS
20         oe_runmake -C dfb++ 'libdir=/lib' 'includedir=/include/dfb++' \
21                           'oldincludedir=/include' 'datadir=/share' \
22               'DESTDIR=${STAGING_LIBDIR}/..' \
23               install-libLTLIBRARIES
24 }
25
26
27 do_install() {
28         oe_runmake 'DESTDIR=${D}' install
29 }