1 SRC_URI = "ftp://ftp.handhelds.org/projects/gpe/source/gpe-mini-browser-${PV}.tar.gz"
2 DESCRIPTION = "A lightweight webbrowser for the GPE platform"
4 DEPENDS = "osb-nrcit sqlite libgpewidget"
5 RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg"
8 S = "${WORKDIR}/gpe-mini-browser-${PV}"
13 install -d ${D}/usr/share/applications
14 install -m 0644 ${S}/gpe-mini-browser.desktop ${D}/usr/share/applications/gpe-mini-browser.desktop
15 install -d ${D}/usr/share/pixmaps
16 install -m 0644 ${S}/gpe-mini-browser.png ${D}/usr/share/pixmaps/gpe-mini-browser.png
20 pkg_postinst_${PN}-doc () {
22 if [ "x$D" != "x" ]; then
23 if [ -e /etc/gpe/gpe-help.conf ]; then
24 echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf
26 echo [Help] >> /etc/gpe/gpe-help.conf
27 echo gpe-mini-browser= /usr/share/doc/gpe/gpe-mini-browser.html >> /etc/gpe/gpe-help.conf
29 if [ -x /usr/bin/gpe-helpindex ]; then
30 echo generating help-index
33 echo not generating index for gpe-mini-browser
38 pkg_postrm_${PN}-doc () {
40 if [ -e /etc/gpe/gpe-help.conf ]; then
41 sed '/^\<gpe-mini-browser\>/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf
42 mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf
44 if [ -x /usr/bin/gpe-helpindex ]; then
45 echo generating help-index
48 echo not generating index for gpe-mini-browser