aboutsummaryrefslogtreecommitdiffstats
path: root/packages/directfb/fusionsound_1.0.0.bb
blob: 3cd4a385f6d4d646ef3210d9705c49ae4aea603d (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
33
34
35
36
37
DESCRIPTION = "FusionSound for DirectFB"
DEPENDS = "directfb libmad libvorbis"
SECTION = "libs"
LICENSE = "LGPL"

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

inherit autotools pkgconfig

do_configure_append() {
    find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}/directfb:g'
}

do_stage() {
        autotools_stage_all
}

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

FILES_${PN} += "\
  ${libdir}/directfb-1.0-0/interfaces/*/*.so \
  ${libdir}/directfb-1.0-0/snddrivers/*.so \
"

FILES_${PN}-dbg += "\
  ${libdir}/directfb-1.0-0/*/*/.debug/*.so \
  ${libdir}/directfb-1.0-0/*/.debug/*.so \
"

FILES_${PN}-dev += "\
  ${libdir}/directfb-1.0-0/interfaces/*/*.la \
  ${libdir}/directfb-1.0-0/snddrivers/*.la \
"