summaryrefslogtreecommitdiff
path: root/recipes/openmoko-3rdparty/guitartune_svn.bb
blob: dc468dc77fc203b18be692647a1895259f59e017 (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
DESCRIPTION = "guitar tuner for openmoko phones"
HOMEPAGE = "http://code.google.com/p/guitartune"
AUTHOR = "cchandel"
LICENSE = "GPLv2"
SECTION = "e/apps"
DEPENDS = "gtk+ libglade fftw sqlite3"

SRCREV = "11"
PV = "0.36+svnr${SRCPV}"

SRC_URI = "svn://guitartune.googlecode.com/svn;module=trunk;proto=http"
S = "${WORKDIR}/trunk"

inherit autotools

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

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