summaryrefslogtreecommitdiff
path: root/packages/leafpad
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-09-21 14:01:04 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-09-21 14:01:04 +0000
commit1f63c61b266653e80eac0c0db1cfb423ceda262e (patch)
tree7b4e15a53b6f0098e3dd6c5b6cf01450a3156fb3 /packages/leafpad
parent798a9f55d1989df4039d1f25a5d0a5ed4f54ea4c (diff)
leafpad: bump to 0.8.15
* use upstream desktop file and icon * seperate extra icons to ${PN}-icons
Diffstat (limited to 'packages/leafpad')
-rw-r--r--packages/leafpad/leafpad_0.8.15.bb18
1 files changed, 6 insertions, 12 deletions
diff --git a/packages/leafpad/leafpad_0.8.15.bb b/packages/leafpad/leafpad_0.8.15.bb
index 3446b4f74e..ad6e7f8e75 100644
--- a/packages/leafpad/leafpad_0.8.15.bb
+++ b/packages/leafpad/leafpad_0.8.15.bb
@@ -1,25 +1,19 @@
DESCRIPTION = "GTK+ based simple text editor"
+DESCRIPTION_${PN}-icons = "Extra icon files for leafpad 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"
+SRC_URI = "http://savannah.nongnu.org/download/${PN}/${PN}-${PV}.tar.gz"
+
+PR = "r1"
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
-}
+PACKAGES =+ "${PN}-icons"
+FILES_${PN}-icons = "${datadir}/icons"
FILES_${PN} += "${datadir}/applications ${datadir}/pixmaps ${datadir}/icons"