summaryrefslogtreecommitdiff
path: root/dfb++/dfb++_0.9.20.oe
blob: 7560c8a2dd6708e5fe549a64cf4a507de23cf8ca (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
DESCRIPTION = "A C++ Wrapper for the directfb framebuffer library."
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "directfb"

LICENSE = "LGPL"

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

inherit autotools pkgconfig

EXTRA_OECONF = ""

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
}