tslib: adjust ts.conf for palmpre machine and bump PR
[openembedded.git] / recipes / opentyrian / opentyrian_hg.bb
blob5a723cd47bc2841d1c5d5be5be73c195e948f8ca
1 DESCRIPTION = "OpenTyrian is a port of the DOS shoot-em-up Tyrian."
2 HOMEPAGE = "https://code.google.com/p/opentyrian/"
3 SECTION = "games"
4 LICENSE = "GPLv2"
6 DEPENDS = "virtual/libsdl libsdl-net"
8 REV = "3f3819c0b2"
9 PV = "2.1+hg${REV}"
10 PR = "r0"
12 SRC_URI = "hg://opentyrian.googlecode.com/hg;module=opentyrian;rev=${REV} \
13 http://camanis.net/tyrian/tyrian21.zip;name=data"
15 S = "${WORKDIR}/opentyrian"
17 FILES_${PN} += " ${datadir}/applications ${datadir}/pixmaps ${datadir}/opentyrian"
18 FILES_${PN}-doc = "${mandir}/man6"
20 do_compile() {
21 oe_runmake release
24 do_install() {
25 install -d ${D}${bindir}
26 install -d ${D}${mandir}/man6
27 install -d ${D}${datadir}/pixmaps
28 install -d ${D}${datadir}/applications
29 install -d ${D}${datadir}/opentyrian/data
31 install -m 0755 opentyrian ${D}${bindir}
32 install -m 0644 linux/man/opentyrian.6 ${D}${mandir}/man6
33 install -m 0644 -T linux/icons/tyrian-48.png ${D}${datadir}/pixmaps/opentyrian.png
34 install -m 0644 linux/opentyrian.desktop ${D}${datadir}/applications
35 install -m 0644 ${WORKDIR}/tyrian21/* ${D}${datadir}/opentyrian/data
38 SRC_URI[data.md5sum] = "2a3b206a6de25ed4b771af073f8ca904"
39 SRC_URI[data.sha256sum] = "7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"