summaryrefslogtreecommitdiffstats
path: root/meta/packages/mozilla/minimo_cvs.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/mozilla/minimo_cvs.bb
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/mozilla/minimo_cvs.bb')
-rw-r--r--meta/packages/mozilla/minimo_cvs.bb54
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/packages/mozilla/minimo_cvs.bb b/meta/packages/mozilla/minimo_cvs.bb
new file mode 100644
index 0000000000..7904951277
--- /dev/null
+++ b/meta/packages/mozilla/minimo_cvs.bb
@@ -0,0 +1,54 @@
1DESCRIPTION = "A minimal version of the Mozilla web browser"
2HOMEPAGE="http://www.mozilla.org/projects/minimo/"
3SRC_URI = "cvs://anonymous@cvs-mirror.mozilla.org/cvsroot;module=mozilla \
4 file://xptcstubs.patch;patch=1 \
5 file://no-xmb.patch;patch=1 \
6 file://host_ldflags_fix.patch;patch=1 \
7 file://minimo.png file://minimo.desktop"
8S = "${WORKDIR}/mozilla"
9MAINTAINER = "Phil Blundell <pb@handhelds.org>"
10SECTION = "x11"
11PRIORITY = "optional"
12PV = "0.0+cvs${SRCDATE}"
13FILES_${PN} += "${libdir}/mozilla-minimo"
14PR = "r8"
15LICENSE = "MPL/LGPL/GPL"
16
17inherit mozilla
18
19EXTRA_OECONF += "--enable-application=suite --disable-native-uconv"
20export MOZ_CO_PROJECT="suite"
21
22export MINIMO=1
23export MOZ_OBJDIR="${WORKDIR}/build-${TARGET_SYS}"
24
25include mozilla-cvs.inc
26
27do_compile () {
28 mozilla_do_compile
29 cd $MOZ_OBJDIR/embedding/minimo
30 oe_runmake
31}
32
33mozdir="${D}${libdir}/mozilla-minimo"
34
35do_install () {
36 cd ${S}/embedding/minimo/
37 sh ./package.sh
38 cd ${S}
39 mkdir -p ${mozdir}
40 cp -rL $MOZ_OBJDIR/dist/Embed/* ${mozdir}/
41 rm -f ${mozdir}/TestGtkEmbed
42 mkdir -p ${D}${datadir}/applications
43 install -m 0644 ${WORKDIR}/minimo.desktop ${D}${datadir}/applications/minimo.desktop
44 mkdir -p ${D}${datadir}/pixmaps
45 install -m 0644 ${WORKDIR}/minimo.png ${D}${datadir}/pixmaps/minimo.png
46 mkdir -p ${D}${bindir}
47 echo "#!/bin/sh" > ${D}${bindir}/minimo
48 cat >>${D}${bindir}/minimo << EOF
49cd ${libdir}/mozilla-minimo
50export LD_LIBRARY_PATH=${libdir}/mozilla-minimo
51exec ./Minimo http://www.mozilla.org/projects/minimo/home.html
52EOF
53 chmod 755 ${D}${bindir}/minimo
54}