summaryrefslogtreecommitdiff
path: root/recipes/nonworking/bogl/libbogl_0.1.9.bb
blob: db18ee3160e9abc7e513c682d27934921ad522b5 (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_NATIVE}/bdftobogl .
	ln -sf ${STAGING_BINDIR_NATIVE}/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}/
}