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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Oct 6 20:02:57 2010 UTC (3 years, 9 months ago) by chiiph
Branch: MAIN
Version bump, and old version cleanup

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

1 chiiph 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-27.0.0.ebuild,v 1.1 2010/02/27 19:52:06 yngwin Exp $
4    
5     EAPI="2"
6     inherit eutils qt4-r2
7    
8     DESCRIPTION="Small, lightweight Qt text editor"
9     HOMEPAGE="http://tea-editor.sourceforge.net/"
10     SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
11    
12     LICENSE="GPL-3"
13     SLOT="0"
14     KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
15     IUSE="aspell hunspell"
16    
17     DEPEND="x11-libs/qt-core:4
18     x11-libs/qt-gui:4
19     x11-libs/qt-svg:4
20     x11-libs/qt-script:4"
21     RDEPEND="${DEPEND}
22     aspell? ( app-text/aspell )
23     hunspell? ( app-text/hunspell )"
24    
25     src_configure() {
26     local myopts
27     if use aspell ; then
28     myopts="USE_ASPELL=true"
29     else
30     myopts="USE_ASPELL=false"
31     fi
32    
33     if use hunspell ; then
34     myopts="${myopts} USE_HUNSPELL=true"
35     else
36     myopts="${myopts} USE_HUNSPELL=false"
37     fi
38    
39     eqmake4 src.pro PREFIX="/usr/bin" ${myopts}
40     }
41    
42     src_install() {
43     dobin bin/tea || die
44     dodoc AUTHORS ChangeLog NEWS NEWS-RU TODO || die
45     doicon icons/tea_icon_v2.png || die
46    
47     make_desktop_entry tea Tea tea_icon_v2 Utility
48     }

  ViewVC Help
Powered by ViewVC 1.1.20