added LICENSE to some packages
[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 LICENSE = "GPL"
9 APPNAME = "ubahnnav"
10 APPTYPE = "binary"
11 APPDESKTOP = "${S}/src/ubahnnav"
12 PR = "r2"
13
14 SRC_URI = "http://ubahnstation.net/source/ubahnnav-${PV}.tar.gz \
15            file://qmake.patch;patch=1"
16 S = "${WORKDIR}/ubahnnav-${PV}"
17
18 inherit opie
19
20 export OE_QMAKE_LINK="${CXX}"
21 EXTRA_QMAKEVARS_POST = "LIBS+=-L${S}"
22
23 do_configure_prepend() {
24         find . -name "Makefile"|xargs rm -f
25 }
26
27 do_install() {
28         oe_libinstall -so libsubwaymap ${D}/${palmtopdir}/lib
29         install -d ${D}/${palmtopdir}/pics ${D}/${palmtopdir}/ubahn/maps
30         touch ${D}/${palmtopdir}/ubahn/maps/.empty
31         install -m 0644 src/ubahnnav/images/u-logo.png ${D}/${palmtopdir}/pics/ubahnnav.png
32 }