summaryrefslogtreecommitdiff
path: root/packages/gob2/gob2_2.0.14.bb
blob: eca8d137957373dd22b5d311a34c9753a5b8944c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LICENSE = "LGPL"
DESCRIPTION = "A library to make creating GObjects easier"
HOMEPAGE = "http://www.5z.com/jirka/gob.html"
SECTION = "libs"
DEPENDS = "gtk+ bison flex"
SRC_URI = "http://ftp.5z.com/pub/gob/old/gob2-${PV}.tar.gz"

inherit autotools pkgconfig

do_compile_prepend() {
    find ${S} -name Makefile | xargs sed -i 's~-I/usr/include~-I${STAGING_INCDIR}~g'
    find ${S} -name Makefile | xargs sed -i 's~-I$(includedir)~-I${STAGING_INCDIR}~g'
}

do_stage_append() {
    install -m 0644 ${S}/gob2.m4 ${STAGING_DATADIR}/aclocal
}