summaryrefslogtreecommitdiff
path: root/packages/leafpad/leafpad_0.8.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/leafpad/leafpad_0.8.9.bb')
-rw-r--r--packages/leafpad/leafpad_0.8.9.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/leafpad/leafpad_0.8.9.bb b/packages/leafpad/leafpad_0.8.9.bb
new file mode 100644
index 0000000000..1b1d23fa2a
--- /dev/null
+++ b/packages/leafpad/leafpad_0.8.9.bb
@@ -0,0 +1,21 @@
+LICENSE = "GPLv2"
+DEPENDS = "gtk+ intltool-native"
+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"