summaryrefslogtreecommitdiff
path: root/packages/directfb/++dfb_0.9.23.bb
blob: 4574b8eb4c751840ce879dbd737cd793846ddc05 (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
}