summaryrefslogtreecommitdiff
path: root/recipes/wolf3d/wolf4sdl_1.6.bb
blob: 2e3483b164c236ad2dce6824244e7d6dbbe7915e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LICENSE = "Various"
DESCRIPTION = "Wolfenstein3d game engine"
DEPENDS = "virtual/libsdl libsdl-mixer"

SRC_URI = "http://www.stud.uni-karlsruhe.de/~uvaue/chaos/bins/Wolf4SDL-${PV}-src.zip"

S = "${WORKDIR}/Wolf4SDL-1.6-src"

TARGET_CFLAGS_append = " -lSDL -lSDL_mixer -I${STAGING_INCDIR} -I${STAGING_INCDIR}/SDL"

do_compile() {
	oe_runmake -e Q= PREFIX=${prefix}
}

do_install() {
	oe_runmake -e Q= PREFIX=${D}/${prefix} install
}