ubahnnav: fix after qt/qt3 split
[openembedded.git] / ubahnnav / ubahnnav_0.3.1.oe
1 DESCRIPTION = "U-Bahn Navigator helps you navigating through foreign public \
2 transport networks. It finds the shortest or direct route from a start to a \
3 destination station of the loaded subway map. U-Bahn Navigator is extensible \
4 to support each public transport network."
5 PRIORITY = "optional"
6 SECTION = "opie/applications"
7 MAINTAINER = "Dimitri Brukakis"
8 APPNAME = "ubahnnav"
9 APPTYPE = "binary"
10 APPDESKTOP = "${S}/src/ubahnnav"
11 PR = "r1"
12
13 SRC_URI = "http://ubahnstation.net/source/ubahnnav-${PV}.tar.gz \
14            file://qmake.patch;patch=1"
15 S = "${WORKDIR}/ubahnnav-${PV}"
16
17 inherit opie
18
19 export OE_QMAKE_LINK="${CXX}"
20 EXTRA_QMAKEVARS_POST = "LIBS+=-L${S} INCLUDEPATH+=${QTDIR}/include"
21
22 do_configure_prepend() {
23         find . -name "Makefile"|xargs rm -f
24 }
25
26 do_install() {
27         oe_libinstall -so libsubwaymap ${D}/${palmtopdir}/lib
28         install -d ${D}/${palmtopdir}/pics ${D}/${palmtopdir}/ubahn/maps
29         touch ${D}/${palmtopdir}/ubahn/maps/.empty
30         install -m 0644 src/ubahnnav/images/u-logo.png ${D}/${palmtopdir}/pics/ubahnnav.png
31 }