summaryrefslogtreecommitdiff
path: root/recipes/gpe-sketchbook/gpe-sketchbook_svn.bb
blob: 049fe363f839eec50cfeeac1f2e9ff6cedcb65c6 (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
DESCRIPTION = "A GPE notebook to sketch your notes"
SECTION = "gpe"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "libgpewidget sqlite"
SRCREV = "9547"
PV = "0.2.9+svnr${SRCPV}"

DEFAULT_PREFERENCE = "-1"

inherit pkgconfig autotools

SRC_URI = "\
  ${GPE_SVN} \
  file://svn-build.patch;patch=1 \
"
S = "${WORKDIR}/${PN}"

export CVSBUILD = "no"
CFLAGS += "-D_GNU_SOURCE"

do_compile () {
        oe_runmake PREFIX=${prefix}
        oe_runmake all-desktop PREFIX=${prefix}
}
do_install () {
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install-program
}

FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications"
FILES_${PN} += " ${datadir}/gpe/pixmaps"