aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/prboom/prboom_2.5.0.bb
blob: ef6bb57b5187a38ec568ca7b6b08125175c1a482 (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 = "A Doom Clone based on SDL"
SECTION = "games"
PRIORITY = "optional"
DEPENDS = "virtual/libsdl libsdl-mixer libsdl-net"
LICENSE = "GPL"

PR = "r4"
RRECOMMENDS_${PN} = "freedoom"

SRC_URI = "${SOURCEFORGE_MIRROR}/prboom/prboom-${PV}.tar.gz \
	   file://gnu_source_for_sched_h.patch \
	   "

inherit autotools

EXTRA_OECONF = " --disable-gl --disable-cpu-opt --without-x --disable-sdltest \
                 SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config"

do_install() {
        install -d ${D}${bindir} \
		   ${D}${datadir}/games/doom

	install -m 0755 src/prboom ${D}${bindir}/prboom
	install -m 0644 data/prboom.wad ${D}${datadir}/games/doom/
}

FILES_${PN} += "${datadir}/games/doom/prboom.wad"

SRC_URI[md5sum] = "a8a15f61fa2626ab98051ab2703378c4"
SRC_URI[sha256sum] = "226c1c470f8cc983327536404f405a1d026cf0a5188c694a1243cc8630014bae"