summaryrefslogtreecommitdiff
path: root/packages/gnuz/gnuz-package-native_0.1.bb
blob: d67553a877c8c953bd69b0d977aa14de1db963e9 (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 = "Level maker for gnuZ"
SECTION = "opie/games"
PRIORITY = "optional"
LICENSE = "GPL"
AUTHOR = "Lukas Fraser"
HOMEPAGE = "http://gnuz.4cows.net/eraser/gnuz/"
DEPENDS = "qt-x11-free-native"

SRC_URI = "http://gnuz.4cows.net/eraser/gnuz/gnuz-package_${PV}.tar.gz"

S = "${WORKDIR}/gnuz_package"

EXTRA_QMAKEVARS_POST += "LIBS+=-ldl CONFIG+=thread"

inherit qmake qt3x11 native

do_configure_prepend() {

	${STAGING_BINDIR}/qmake -project
}

do_compile() {

export OE_QMAKE_LINK="${CXX}"
	oe_runmake
}

do_stage() {
	install -m 0755 gnuz_package ${STAGING_BINDIR}/
}