diff options
Diffstat (limited to 'packages/crimsonfields/crimsonfields_0.4.8.bb')
-rw-r--r-- | packages/crimsonfields/crimsonfields_0.4.8.bb | 34 |
1 files changed, 34 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..1a6f52b8f4 --- /dev/null +++ b/packages/crimsonfields/crimsonfields_0.4.8.bb @@ -0,0 +1,34 @@ +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() { + autotools_do_install + 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}" |