summaryrefslogtreecommitdiff
path: root/nonworking/bogl/libbogl_0.1.9.oe
blob: e9198eae89dee734c61279e458660f327992b4c3 (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
DESCRIPTION = "Ben's Own Graphics Library"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "bogl-utils-native"
PR = "2"

SRC_URI = "${DEBIAN_MIRROR}/main/b/bogl/bogl_${PV}-${PR}.tar.gz"
S = "${WORKDIR}/bogl"

do_compile() {
	ln -sf ${STAGING_BINDIR}/bdftobogl .
	ln -sf ${STAGING_BINDIR}/pngtobogl .
	oe_runmake libbogl.so.0.1 libbogl.a
}

do_stage() {
	oe_soinstall libbogl.so.0.1 ${STAGING_LIBDIR}/
	install bogl*.h ${STAGING_INCDIR}/
}

do_install() {
	oe_soinstall libbogl.so.0.1 ${STAGING_LIBDIR}/
}