tsmd: install also a little helper script to control the touchscreen daemon
[openembedded.git] / recipes / webkit / arora.inc
blobdefb71fff2e6bf2aae20e3f5c29ffe615e5df681
1 DESCRIPTION = "Arora is a lightweight cross-platform web browser"
2 LICENE = "GPLv2"
3 HOMEPAGE = "http://code.google.com/p/arora/"
5 PR = "r6"
7 SRC_URI = "http://arora.googlecode.com/files/arora-${PV}.tar.gz;name=arora"
9 S = "${WORKDIR}/arora-${PV}"
11 export QT_LIBINFIX
13 do_configure_prepend() {
14         sed -i -e s:lrelease-qt4:${OE_QMAKE_LRELEASE}:g ${S}/src/locale/locale.pri
17 # Huge hack ahead:
18 # Something is putting '.libs' in the Makefiles, which we do now want. The problem is that qmake generates makefiles during 'make all' *sigh*
19 do_compile_prepend() {
20         ( oe_runmake src/Makefile tools/Makefile
21           cd ${S}/tools ; oe_runmake cacheinfo/Makefile htmlToXBel/Makefile placesimport/Makefile
22         )
24         for i in $(find ${S} -name 'Makefile') ; do
25                 sed -i -e 's:/.libs::g' $i
26                 make || true
27         done
31 do_install() {
32         sed -i -e s:/usr/local:${D}${prefix}:g install.pri      
33         sed -i -e s:$(INSTALL_ROOT)/OE/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/arora-0.10.1-r0/image/:$(INSTALL_ROOT)/:g src/Makefile
35         for i in $(find ${S} -name 'Makefile') ; do
36                 sed -i -e s:/usr/local:${prefix}:g $i
37         done
39         oe_runmake -e INSTALL_ROOT=${D} install
40         cp -R ${D}/${D}/* ${D}/ || true
41         cp -R ${D}/usr/local/* ${D}${prefix} || true
42         rm -rf ${D}/usr/local ${D}/${D}
44         if [ "$QT_LIBINFIX" = "E" ] ; then
45                 mv ${D}${bindir}/arora ${D}${bindir}/aroraE
46         fi
50 PACKAGES =+ "arora-data arora-utils"
51 FILES_arora-data += "${datadir}/pixmaps ${datadir}/applications ${datadir}/arora ${datadir}/gnome-control-center ${datadir}/icons"
52 FILES_arora-utils += "${bindir}/arora-cacheinfo ${bindir}/arora-placesimport ${bindir}/htmlToXBel"
54 RDEPENDS_${PN} += "arora-data arora-utils"