diff options
author | Koen Kooi <koen@openembedded.org> | 2008-10-17 11:39:30 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-10-17 11:39:30 +0200 |
commit | e986034ae5fa2acdc485ac770d06fcc7e96a3afe (patch) | |
tree | 2f9e7893749e3a0ee5c1e5e1fda6a31fa97d9b79 | |
parent | 2181f9ee2d0b43dd9c8ca7e17852b0e9d4511334 (diff) |
duke3d: add svn version from icculus.org
* You'll need gamedata to play this, so download the shareware version or use your game cd
-rw-r--r-- | packages/duke3d/duke3d_svn.bb | 27 | ||||
-rw-r--r-- | packages/duke3d/files/duke3d.desktop | 13 |
2 files changed, 40 insertions, 0 deletions
diff --git a/packages/duke3d/duke3d_svn.bb b/packages/duke3d/duke3d_svn.bb new file mode 100644 index 0000000000..11c33b1fad --- /dev/null +++ b/packages/duke3d/duke3d_svn.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Duke Nukem 3D game engine" +LICENSE = "GPLv2" +DEPENDS = "libsdl libsdl-mixer" + +SRCREV = "185" +PV = "0.0+svnr${SRCREV}" + +SRC_URI = "svn://svn.icculus.org/duke3d/;module=trunk \ + file://duke3d.desktop" + +S = "${WORKDIR}/trunk/source" + +PARALLEL_MAKE = "" + +do_compile() { + for i in $(find ${S} -name 'Makefile') ; do + sed -i s:\ gcc:\ '${CC}': $i + done + make +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/duke3d ${D}${bindir}/ + install -d ${D}${datadir}/applications + install -m 0644 ${WORKDIR}/duke3d.desktop ${D}${datadir}/applications/ +} diff --git a/packages/duke3d/files/duke3d.desktop b/packages/duke3d/files/duke3d.desktop new file mode 100644 index 0000000000..a7a3f01f0b --- /dev/null +++ b/packages/duke3d/files/duke3d.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name=Duke3D +Comment=first person shooter +Encoding=UTF-8 +Version=0.1.1 +Type=Application +Exec=duke3d +Icon=duke3d +Terminal=false +Categories=GTK;Application +SingleInstance=true +StartupNotify=true + |