summaryrefslogtreecommitdiff
path: root/packages/leafpad/leafpad_0.8.15.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/leafpad/leafpad_0.8.15.bb')
-rw-r--r--packages/leafpad/leafpad_0.8.15.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/leafpad/leafpad_0.8.15.bb b/packages/leafpad/leafpad_0.8.15.bb
new file mode 100644
index 0000000000..3446b4f74e
--- /dev/null
+++ b/packages/leafpad/leafpad_0.8.15.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "GTK+ based simple text editor"
+HOMEPAGE = "http://tarot.freeshell.org/leafpad"
+AUTHOR = "Tarot Osuji <tarot@sdf.lonestar.org>"
+SECTION = "x11/applications"
+LICENSE = "GPLv2"
+DEPENDS = "gtk+"
+SRC_URI = "http://savannah.nongnu.org/download/${PN}/${PN}-${PV}.tar.gz \
+ file://leafpad.desktop \
+ file://leafpad.png"
+PR = "r0"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = " --enable-chooser --enable-emacs --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 ${datadir}/pixmaps ${datadir}/icons"