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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Wed Oct 6 20:02:57 2010 UTC (3 years, 6 months ago) by chiiph
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump, and old version cleanup

(Portage version: 2.2_rc88/cvs/Linux i686)

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

  ViewVC Help
Powered by ViewVC 1.1.20