aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openmoko-3rdparty/ventura_svn.bb
blob: dbb4d0eadf73ca89943aad65ebb1a25d818572e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DESCRIPTION = "ventura is a web browser for openmoko phones"
AUTHOR = "cchandel"
HOMEPAGE = "http://code.google.com/p/elm-browser/"
SECTION = "e/apps"
LICENSE = "GPLv2"
DEPENDS = "elementary webkit-efl sqlite3"
RRECOMMENDS_${PN} = "ca-certificates"
PV = "0.2+svnr${SRCPV}"
PR = "1"

SRC_URI = "svn://elm-browser.googlecode.com/svn;module=trunk;proto=http"

SRCREV = "16"
S = "${WORKDIR}/trunk"

inherit autotools

do_install_append() {
        install -d "${D}/${datadir}/pixmaps"
        install -m 0644 "${S}/resources/ventura.png" "${D}/${datadir}/pixmaps"
        install -d "${D}/${datadir}/applications"
        install -m 0644 "${S}/resources/ventura.desktop" "${D}/${datadir}/applications"
        install -d "${D}/${datadir}/ventura"
        for ico in "${S}/resources/"*.png; do
                if [ "$(basename $ico)" != "ventura.png" ]; then
                        install -m 0644 $ico "${D}/${datadir}/ventura"
                fi
        done
        install -m 0644 "${S}/resources/ventura.edj" "${D}/${datadir}/ventura"
        install -m 0644 "${S}/resources/default.edj" "${D}/${datadir}/ventura"
}

FILES_${PN} += "/usr/share/ventura/* /usr/share/applications/* /usr/share/pixmaps/*"