1 DEPENDS = "sqlite gettext gtk+ glib-2.0 osb-nrcit libgpewidget"
2 RRECOMMENDS = "gdk-pixbuf-loader-gif gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg"
3 PV = "0.20+svn${SRCDATE}"
8 SRC_URI = "${GPE_EXTRA_SVN}"
10 S = "${WORKDIR}/gpe-mini-browser"
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
37 pkg_postrm_${PN}-doc () {
39 if [ -e /etc/gpe/gpe-help.conf ]; then
40 sed '/^\<gpe-mini-browser\>/d' /etc/gpe/gpe-help.conf > /tmp/gpe-help.conf
41 mv /tmp/gpe-help.conf /etc/gpe/gpe-help.conf
43 if [ -x /usr/bin/gpe-helpindex ]; then
44 echo generating help-index
47 echo not generating index for gpe-mini-browser
51 require gpe-mini-browser.inc
53 #DEFAULT_PREFERENCE = "-1"