LICENSE = "GPL"

inherit gpe pkgconfig

DEPENDS = "libgpewidget"
SECTION = "gpe"
SECTION = "gpe"
PRIORITY = "optional"
DESCRIPTION = "A GPE notebook to sketch your notes"
export CVSBUILD = "no"

CFLAGS +="-D_GNU_SOURCE"

SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.gz"

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

do_compile () {
        oe_runmake PREFIX=${prefix}
        oe_runmake all-desktop PREFIX=${prefix}
}

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