summaryrefslogtreecommitdiffstats
path: root/recipes/ggz/ggz-client-libs_0.0.14.1.bb
blob: 6b956ba2df71c9e3d6afaa87c0889d5ac4002954 (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 = " Client libraries for GamingZone"
LICENSE = "LGPLv2"
DEPENDS = "libggz" 

PR = "r1"

SRC_URI = "http://ftp.belnet.be/packages/ggzgamingzone/ggz/${PV}/${PN}-${PV}.tar.gz \
           file://ggz-unbreak-m4.patch;patch=1 \
          "

inherit autotools

EXTRA_OECONF = "--with-ggz-dir=${STAGING_INCDIR}/../ \
                --with-libggz-includes=${STAGING_INCDIR} \
                --with-libggz-libraries=${STAGING_LIBDIR} \
               "

do_configure_append() {
	for i in $(find ${S} -name "Makefile") ; do 
		sed -i -e s:'-I /usr/include -I /usr/local/include'::g $i
	done
}

AUTOTOOLS_STAGE_PKGCONFIG = "1"

do_stage() {
        autotools_stage_all
}