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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Sun Dec 30 12:19:24 2007 UTC (6 years, 6 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
amd64 stable, closing also #200306, leaving QA bugs 200229 and 200304 open - not a regression.
(Portage version: 2.1.4_rc11)

1 armin76 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 drac 1.7 # $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-16.1.1.ebuild,v 1.6 2007/10/22 14:23:21 welp Exp $
4 armin76 1.1
5     inherit 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 angelos 1.3 KEYWORDS="amd64 ~ia64 x86 ~x86-fbsd"
14 welp 1.6 IUSE="enchant gnome hacking ipv6 spell"
15 armin76 1.1
16     RDEPEND="x11-libs/gtk+
17 remi 1.5 gnome? ( =x11-libs/gtksourceview-1*
18 armin76 1.1 gnome-base/gnome-vfs )"
19     DEPEND="${RDEPEND}
20     x11-libs/libX11
21     spell? ( app-text/aspell )
22     enchant? ( app-text/enchant )
23     dev-util/pkgconfig"
24    
25     src_compile() {
26     local myconf
27    
28     myconf="${myconf} --disable-debian"
29     if use hacking; then
30     myconf="${myconf} --enable-hacking"
31     fi
32     if ! use gnome; then
33     myconf="${myconf} --enable-legacy"
34     fi
35     if use enchant; then
36     myconf="${myconf} --enable-enchant"
37     fi
38    
39     econf \
40     $(use_enable ipv6) \
41     ${myconf} || die "econf failed!"
42    
43     emake || die "emake failed!"
44     }
45    
46     src_install() {
47     emake DESTDIR="${D}" install || die "emake install failed!"
48    
49 welp 1.6 doicon "${FILESDIR}/tea_icon_v2.png"
50 welp 1.4 make_desktop_entry teaed Tea tea_icon_v2.png Development
51 armin76 1.1 }
52    
53     pkg_postinst() {
54     if use spell ; then
55     elog "To get full spellchecking functuality, ensure that you install"
56     elog "the relevant language pack(s)"
57     fi
58     }

  ViewVC Help
Powered by ViewVC 1.1.20