summaryrefslogtreecommitdiff
path: root/recipes/prboom/prboom_2.2.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/prboom/prboom_2.2.6.bb')
-rw-r--r--recipes/prboom/prboom_2.2.6.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/prboom/prboom_2.2.6.bb b/recipes/prboom/prboom_2.2.6.bb
new file mode 100644
index 0000000000..7bcfa90ae1
--- /dev/null
+++ b/recipes/prboom/prboom_2.2.6.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "A Doom Clone based on SDL"
+SECTION = "games"
+PRIORITY = "optional"
+DEPENDS = "virtual/libsdl libsdl-mixer libsdl-net"
+LICENSE = "GPL"
+
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/prboom/prboom-${PV}.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF = "--without-x --disable-sdltest"
+
+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"