/[gentoo-x86]/app-editors/leafpad/leafpad-0.8.18.1.ebuild
Gentoo

Contents of /app-editors/leafpad/leafpad-0.8.18.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Sep 13 21:14:54 2012 UTC (2 years ago) by ssuominen
Branch: MAIN
Changes since 1.4: +20 -33 lines
Fix desktop-file-validate errors and use nongnu mirrors.

(Portage version: 2.2.0_alpha127/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6 inherit eutils fdo-mime gnome2-utils
7
8 DESCRIPTION="Legacy (stable) release of the GTK+ 2.x based codebase"
9 HOMEPAGE="http://tarot.freeshell.org/leafpad/"
10 SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
11
12 LICENSE=GPL-2
13 SLOT=0
14 KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~x86-interix ~amd64-linux ~x86-linux"
15 IUSE=emacs
16
17 RDEPEND="virtual/libintl
18 x11-libs/gtk+:2"
19 DEPEND="${RDEPEND}
20 dev-util/intltool
21 sys-devel/gettext
22 virtual/pkgconfig"
23
24 DOCS="AUTHORS ChangeLog NEWS README"
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${P}-fdo.patch
28 }
29
30 src_configure() {
31 econf --enable-chooser --enable-print $(use_enable emacs)
32 }
33
34 pkg_preinst() { gnome2_icon_savelist; }
35 pkg_postinst() { fdo-mime_desktop_database_update; gnome2_icon_cache_update; }
36 pkg_postrm() { fdo-mime_desktop_database_update; gnome2_icon_cache_update; }

  ViewVC Help
Powered by ViewVC 1.1.20