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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Nov 14 12:26:43 2008 UTC (5 years, 10 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
x86 stable, remove old
(Portage version: 2.1.4.5)

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

  ViewVC Help
Powered by ViewVC 1.1.20