summaryrefslogtreecommitdiff
path: root/packages/directfb/dfb++_0.9.23.bb
blob: 0e0772da942d44ac18f918dfc2d92f41420eda31 (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
DESCRIPTION = "A C++ Wrapper for the directfb framebuffer library."
HOMEPAGE = "http://directfb.org"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "directfb"
LICENSE = "LGPL"

# needs a g++4 patch
BROKEN = "1"

SRC_URI = "http://www.directfb.org/downloads/Extras/DFB++-${PV}.tar.gz"
S = "${WORKDIR}/DFB++-${PV}"

inherit autotools pkgconfig

do_stage() {
        oe_runmake -C include 'libdir=/lib' 'includedir=/include/dfb++' \
                          'oldincludedir=/include' 'datadir=/share' \
                          'DESTDIR=${STAGING_LIBDIR}/..' \
                          install-dfbppincludeHEADERS
        oe_runmake -C dfb++ 'libdir=/lib' 'includedir=/include/dfb++' \
                          'oldincludedir=/include' 'datadir=/share' \
              'DESTDIR=${STAGING_LIBDIR}/..' \
              install-libLTLIBRARIES
}


do_install() {
        oe_runmake 'DESTDIR=${D}' install
}