summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/leafpad/leafpad_0.8.4.bb
blob: c26f149777ac9b4b8c540eaf44fb0d0518206818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LICENSE = "GPLv2"
DEPENDS = "gtk+"
SRC_URI = "http://savannah.nongnu.org/download/${PN}/${PN}-${PV}.tar.gz \
	   file://leafpad.desktop \
	   file://leafpad.png"
PR = "r1"

inherit autotools pkgconfig

EXTRA_OECONF = " --enable-chooser --disable-gtktest --disable-print"

do_install_append () {
        install -d ${D}/${datadir}
        install -d ${D}/${datadir}/applications
        install -d ${D}/${datadir}/pixmaps/

        install -m 0644 ${WORKDIR}/leafpad.png ${D}/${datadir}/pixmaps
        install -m 0644 ${WORKDIR}/leafpad.desktop ${D}/${datadir}/applications
}

FILES_${PN} += "${datadir}/applications/leafpad.desktop ${datadir}/pixmaps/leafpad.png"