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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Oct 6 20:02:57 2010 UTC (4 years, 2 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 # 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-26.0.1.ebuild,v 1.3 2010/03/09 11:56:06 abcd Exp $
4
5 EAPI="2"
6
7 inherit eutils qt4-r2
8
9 DESCRIPTION="Small, lightweight Qt text editor"
10 HOMEPAGE="http://tea-editor.sourceforge.net"
11 SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
16 IUSE="aspell hunspell"
17
18 DEPEND="x11-libs/qt-core:4
19 x11-libs/qt-gui:4
20 x11-libs/qt-svg:4
21 x11-libs/qt-script:4"
22 RDEPEND="${DEPEND}
23 aspell? ( app-text/aspell )
24 hunspell? ( app-text/hunspell )"
25
26 src_configure() {
27 local myopts
28 if use aspell ; then
29 myopts="USE_ASPELL=true"
30 else
31 myopts="USE_ASPELL=false"
32 fi
33
34 if use hunspell ; then
35 myopts="${myopts} USE_HUNSPELL=true"
36 else
37 myopts="${myopts} USE_HUNSPELL=false"
38 fi
39
40 eqmake4 src.pro PREFIX="/usr/bin" ${myopts}
41 }
42
43 src_install() {
44 dobin bin/tea || die "Couldn't install tea"
45 dodoc AUTHORS ChangeLog NEWS NEWS-RU TODO
46 doicon icons/tea_icon_v2.png
47
48 make_desktop_entry tea Tea tea_icon_v2 Utility
49 }
50
51 pkg_postinst() {
52 if use aspell || use hunspell ; then
53 elog "To get full spellchecking functuality, ensure that you install"
54 elog "the relevant language pack(s)"
55 fi
56 }

  ViewVC Help
Powered by ViewVC 1.1.20