pingus: fix style issues and packaging
authorKoen Kooi <koen@openembedded.org>
Wed, 21 Jan 2009 18:40:31 +0000 (19:40 +0100)
committerKoen Kooi <koen@openembedded.org>
Wed, 21 Jan 2009 18:40:31 +0000 (19:40 +0100)
* machine specific start script ?!?!?! Can't it check /proc/cpuinfo?

packages/pingus/pingus_0.7.2.bb

index 610824f..8e48b7f 100644 (file)
@@ -3,7 +3,6 @@ DEPENDS = "virtual/libsdl libsdl-image libsdl-mixer boost libpng"
 LICENSE = "GPL"
 HOMEPAGE = "http://pingus.seul.org/"
 SECTION = "x11/games"
-PV = "0.7.2"
 PR = "r0"
 
 inherit scons
@@ -15,7 +14,7 @@ SRC_URI = "\
   file://pingus.png \
   file://pingus-gta012.sh \
 "
-S = "${WORKDIR}/pingus-0.7.2"
+S = "${WORKDIR}/pingus-${PV}"
 
 do_install() {
        install -d ${D}${bindir}
@@ -35,5 +34,9 @@ do_install() {
        fi
 }
 
+# Account for 1337 script in do_install
+PACKAGE_ARCH_om-gta01 = "${MACHINE_ARCH}"
+PACKAGE_ARCH_om-gta02 = "${MACHINE_ARCH}"
+
 FILES_${PN} += "${datadir}"