summaryrefslogtreecommitdiff
path: root/recipes/netsurf
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/netsurf
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/netsurf')
-rw-r--r--recipes/netsurf/files/netsurf.desktop10
-rw-r--r--recipes/netsurf/netsurf_svn.bb43
2 files changed, 53 insertions, 0 deletions
diff --git a/recipes/netsurf/files/netsurf.desktop b/recipes/netsurf/files/netsurf.desktop
new file mode 100644
index 0000000000..4188d3019d
--- /dev/null
+++ b/recipes/netsurf/files/netsurf.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=NetSurf
+Comment=NetSurf Web Browser
+GenericName=Web Browser
+Icon=netsurf
+Exec=netsurf
+Terminal=false
+StartupNotify=false
+Categories=Network;WebBrowser;
diff --git a/recipes/netsurf/netsurf_svn.bb b/recipes/netsurf/netsurf_svn.bb
new file mode 100644
index 0000000000..78f23991d3
--- /dev/null
+++ b/recipes/netsurf/netsurf_svn.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "Lightweight web browser capable of handling many of the \
+web standards in use today."
+HOMEPAGE = "http://www.netsurf-browser.org/"
+SECTION = "x11/network"
+LICENSE = "GPLv2"
+PV = "1.1+svnr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "svn://svn.netsurf-browser.org/trunk;module=netsurf \
+ file://netsurf.desktop"
+S = "${WORKDIR}/netsurf"
+
+DEPENDS = "gtk+ (>=2.8) lemon-native re2c-native libxml2 librsvg jpeg \
+ libmng curl openssl libglade (>=2.0)"
+
+do_compile() {
+ make -f Makefile.unix
+}
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -d ${D}/${libdir}/netsurf
+ install -d ${D}/${datadir}/netsurf
+ install -d ${D}/${datadir}/applications
+ install -d ${D}/${datadir}/pixmaps
+ install -m 0755 nsgtk ${D}/${libdir}/netsurf
+ install -m 0644 gtk/res/*.css ${D}/${datadir}/netsurf
+ install -m 0644 gtk/res/ca-bundle.txt ${D}/${datadir}/netsurf
+ install -m 0644 gtk/res/netsurf.glade ${D}/${datadir}/netsurf
+ install -m 0644 gtk/res/netsurf-logo.png ${D}/${datadir}/netsurf
+ install -m 0644 gtk/res/netsurf.xpm ${D}/${datadir}/netsurf
+ install -m 0644 gtk/res/throbber.gif ${D}/${datadir}/netsurf
+ install -m 0644 gtk/res/messages ${D}/${datadir}/netsurf
+ install -m 0644 gtk/res/netsurf.xpm ${D}/${datadir}/pixmaps
+ install -m 0644 ${WORKDIR}/netsurf.desktop ${D}/${datadir}/applications
+ cat >${D}/${bindir}/netsurf <<EOF
+#!/bin/sh
+NETSURFRES=${datadir}/netsurf
+export NETSURFRES
+exec ${libdir}/netsurf/nsgtk "\$@"
+EOF
+ chmod 0755 ${D}/${bindir}/netsurf
+}