/[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.2 - (show annotations) (download)
Sat Jan 21 22:08:26 2012 UTC (2 years, 10 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump wrt bug #399399. Thanks to kensington <gentoo@scribeofthenile.com>. Fixes also bug #370113.

(Portage version: 2.2.0_alpha84/cvs/Linux i686)

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-28.1.2.ebuild,v 1.1 2010/10/06 20:02:57 chiiph 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