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

SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \
          file://${FILESDIR}/m4.patch;patch=1

inherit autotools libtool

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

do_configure() {
	oe_runconf
}

do_install() {
	install -d ${D}/opt/QtPalmtop/{bin,apps/Games,pics}
	install -m 0755 src/prboom ${D}/opt/QtPalmtop/bin/prboom
	install -m 0644 ${FILESDIR}/prboom.png ${D}/opt/QtPalmtop/pics/prboom.png
	install -m 0644 ${FILESDIR}/prboom.desktop ${D}/opt/QtPalmtop/apps/Games/prboom.desktop
}

FILES_${PN}=
FILES_${PN}=/opt/QtPalmtop