summaryrefslogtreecommitdiff
path: root/packages/gob2/gob2_2.0.14.bb
blob: 89f64d00e03ee7809c7964aaf83cb2e46026f4b1 (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/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
}