summaryrefslogtreecommitdiff
path: root/packages/crimsonfields/crimsonfields_0.4.8.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-03 00:07:52 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-03 00:07:52 +0000
commit9e3eafa27d785b1a357332d6183e33dd0eb8e56b (patch)
treea9e12ee983cf8427f4e21b5743d4ff51fead13cf /packages/crimsonfields/crimsonfields_0.4.8.bb
parent1f46d61330cef352542dede22fb1c654ea7ddbd4 (diff)
add crimsonfields, a popular tactical war game in the tradition of Battle Isle
NOTE: this was pretty complex and annoying as I had to add a native libsdl and a native libsdl-ttf as well as a native version of the crimsonfields tools :/
Diffstat (limited to 'packages/crimsonfields/crimsonfields_0.4.8.bb')
-rw-r--r--packages/crimsonfields/crimsonfields_0.4.8.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/crimsonfields/crimsonfields_0.4.8.bb b/packages/crimsonfields/crimsonfields_0.4.8.bb
new file mode 100644
index 0000000000..7afd20589a
--- /dev/null
+++ b/packages/crimsonfields/crimsonfields_0.4.8.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "Crimson Fields is a tactical war game in the tradition of Battle Isle."
+SECTION = "games"
+DEPENDS = "crimsonfields-native virtual/libsdl libsdl-mixer libsdl-ttf"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://crimson.seul.org/files/crimson-${PV}.tar.bz2 \
+ file://native-tools.patch;patch=1"
+S = "${WORKDIR}/crimson-${PV}"
+
+inherit autotools
+
+HOST_TOOLS = "cfed mkdatafile mklocale mktileset mkunitset"
+
+do_configure() {
+ gnu-configize
+ oe_runconf
+ for binary in ${HOST_TOOLS}
+ do
+ install -m 0755 ${STAGING_DIR}/${BUILD_SYS}/bin/$binary tools/
+ done
+ install -m 0644 ${STAGING_DIR}/${BUILD_SYS}/share/default.* tools/
+}
+
+do_install_append() {
+ install -d ${D}${palmtopdir}/apps/Games/
+ install -d ${D}${palmtopdir}/pics/
+ install -m 0644 ${D}${datadir}/applications/crimson.desktop ${D}${palmtopdir}/apps/Games/
+ install -m 0644 ${D}${datadir}/pixmaps/*.png ${D}${palmtopdir}/pics/
+}
+
+FILES_${PN} = "${bindir} ${datadir} ${palmtopdir}"