/[gentoo-x86]/app-editors/tea/tea-17.6.0.ebuild
Gentoo

Contents of /app-editors/tea/tea-17.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Nov 14 12:26:43 2008 UTC (6 years, 1 month ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
x86 stable, remove old
(Portage version: 2.1.4.5)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-17.6.0.ebuild,v 1.4 2008/04/23 17:40:04 armin76 Exp $
4
5 inherit autotools eutils
6
7 DESCRIPTION="Small, lightweight GTK+ text editor"
8 HOMEPAGE="http://tea-editor.sourceforge.net"
9 SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ia64 x86 ~x86-fbsd"
14 IUSE="enchant gnome hacking ipv6 spell"
15
16 RDEPEND=">=x11-libs/gtk+-2
17 x11-libs/libX11
18 gnome? ( >=x11-libs/gtksourceview-2
19 gnome-base/gnome-vfs )"
20 DEPEND="${RDEPEND}
21 net-misc/curl
22 spell? ( app-text/aspell )
23 enchant? ( app-text/enchant )
24 dev-util/pkgconfig"
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29 epatch "${FILESDIR}"/${PN}-17.5.4-forced-cflags-and-compiler-warnings.patch
30 eautoconf
31 }
32
33 src_compile() {
34 local myconf
35
36 if use hacking; then
37 myconf="${myconf} --enable-hacking"
38 fi
39 if ! use gnome; then
40 myconf="${myconf} --enable-legacy"
41 fi
42 if use enchant; then
43 myconf="${myconf} --enable-enchant"
44 fi
45
46 econf \
47 $(use_enable ipv6) \
48 ${myconf} || die "econf failed!"
49
50 emake || die "emake failed!"
51 }
52
53 src_install() {
54 emake DESTDIR="${D}" install || die "emake install failed!"
55
56 make_desktop_entry tea Tea /usr/share/tea/pixmaps/tea_icon_v2.png Development
57
58 # insinto /usr/share/doc/tea/
59 # doins AUTHORS COPYING NEWS README TODO ChangeLog doc/*
60
61 # insinto /usr/share/pixmaps/
62 # doins pixmaps/*
63 }
64
65 pkg_postinst() {
66 if use spell ; then
67 elog "To get full spellchecking functuality, ensure that you install"
68 elog "the relevant language pack(s)"
69 fi
70 }

  ViewVC Help
Powered by ViewVC 1.1.20