diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/duke3d | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/duke3d')
-rw-r--r-- | recipes/duke3d/duke3d_svn.bb | 27 | ||||
-rw-r--r-- | recipes/duke3d/files/duke3d.desktop | 13 |
2 files changed, 40 insertions, 0 deletions
diff --git a/recipes/duke3d/duke3d_svn.bb b/recipes/duke3d/duke3d_svn.bb new file mode 100644 index 0000000000..36e46df513 --- /dev/null +++ b/recipes/duke3d/duke3d_svn.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Duke Nukem 3D game engine" +LICENSE = "GPLv2" +DEPENDS = "virtual/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/recipes/duke3d/files/duke3d.desktop b/recipes/duke3d/files/duke3d.desktop new file mode 100644 index 0000000000..a7a3f01f0b --- /dev/null +++ b/recipes/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 + |