summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mileage/mileage_cvs.oe5
-rw-r--r--ubahnnav/ubahnnav_0.3.1.oe31
2 files changed, 34 insertions, 2 deletions
diff --git a/mileage/mileage_cvs.oe b/mileage/mileage_cvs.oe
index 28382b95d0..598badbd5a 100644
--- a/mileage/mileage_cvs.oe
+++ b/mileage/mileage_cvs.oe
@@ -3,6 +3,7 @@ HOMEPAGE = "http://mileage.sourceforge.net"
SECTION = "apps"
PRIORITY = "optional"
PV = "4.2.0-cvs-${CVSDATE}"
+PR = "r1"
SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/mileage;module=mileage"
S = "${WORKDIR}/mileage"
@@ -12,11 +13,11 @@ export OE_QMAKE_LINK="${CXX}"
do_install() {
install -d ${D}/${palmtopdir}/apps/Applications/
- install -d ${D}/${palmtopdir}/pics/${PN}/
+ install -d ${D}/${palmtopdir}/pics/
install -d ${D}/${palmtopdir}/bin/
install -m 0755 ${PN} ${D}/${palmtopdir}/bin/
install -m 0644 ${PN}.desktop ${D}/${palmtopdir}/apps/Applications/
- install -m 0644 ${PN}.png ${D}/${palmtopdir}/pics/${PN}/
+ install -m 0644 ${PN}.png ${D}/${palmtopdir}/pics/
#FIXME: Package and install help files seperatly
}
diff --git a/ubahnnav/ubahnnav_0.3.1.oe b/ubahnnav/ubahnnav_0.3.1.oe
index e69de29bb2..e4228aa920 100644
--- a/ubahnnav/ubahnnav_0.3.1.oe
+++ b/ubahnnav/ubahnnav_0.3.1.oe
@@ -0,0 +1,31 @@
+DESCRIPTION = "U-Bahn Navigator helps you navigating through foreign public \
+transport networks. It finds the shortest or direct route from a start to a \
+destination station of the loaded subway map. U-Bahn Navigator is extensible \
+to support each public transport network."
+PRIORITY = "optional"
+SECTION = "opie/applications"
+MAINTAINER = "Dimitri Brukakis"
+APPNAME = "ubahnnav"
+APPTYPE = "binary"
+APPDESKTOP = "${S}/src/ubahnnav"
+PR = "r1"
+
+SRC_URI = "http://ubahnstation.net/source/ubahnnav-${PV}.tar.gz \
+ file://qmake.patch;patch=1"
+S = "${WORKDIR}/ubahnnav-${PV}"
+
+inherit opie
+
+export OE_QMAKE_LINK="${CXX}"
+EXTRA_QMAKEVARS_POST = "LIBS+=-L${S}"
+
+do_configure_prepend() {
+ find . -name "Makefile"|xargs rm -f
+}
+
+do_install() {
+ oe_libinstall -so libsubwaymap ${D}/${palmtopdir}/lib
+ install -d ${D}/${palmtopdir}/pics ${D}/${palmtopdir}/ubahn/maps
+ touch ${D}/${palmtopdir}/ubahn/maps/.empty
+ install -m 0644 src/ubahnnav/images/u-logo.png ${D}/${palmtopdir}/pics/ubahnnav.png
+}