summaryrefslogtreecommitdiff
path: root/prboom/prboom_2.3.0.oe
blob: 55502ca76ba05991b42cf457d91807b71de0b53b (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
DESCRIPTION = "A Doom Clone based on SDL"
SECTION = "base"
PRIORITY = "optional"
DEPENDS = "libsdl-qpe libsdl-mixer libsdl-net"

SRC_URI = "${SOURCEFORGE_MIRROR}/prboom/prboom-${PV}.tar.gz \
           file://m4.patch;patch=1 \
           file://prboom.png \
           file://prboom.desktop"

inherit autotools 

EXTRA_OECONF = "--without-x --disable-sdltest"

do_configure() {
	gnu-configize
	oe_runconf
}

do_install() {
        install -d ${D}/${palmtopdir}/bin \
        	   ${D}/${palmtopdir}/apps/Games \
        	   ${D}/${palmtopdir}/pics
	install -m 0755 src/prboom ${D}/${palmtopdir}/bin/prboom
	install -m 0644 ${WORKDIR}/prboom.png ${D}/${palmtopdir}/pics/prboom.png
	install -m 0644 ${WORKDIR}/prboom.desktop ${D}/${palmtopdir}/apps/Games/prboom.desktop
}

FILES_${PN} = "${D}/{palmtopdir}/"