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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 24 11:35:52 2012 UTC (2 years, 4 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, remove old.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-31.2.0.ebuild,v 1.1 2012/01/21 22:08:26 johu Exp $
4
5 EAPI=4
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 RDEPEND="sys-libs/zlib
18 x11-libs/qt-core:4
19 x11-libs/qt-gui:4
20 aspell? ( app-text/aspell )
21 hunspell? ( app-text/hunspell )"
22 DEPEND="${RDEPEND}
23 hunspell? ( dev-util/pkgconfig )"
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
44 dodoc AUTHORS ChangeLog NEWS NEWS-RU TODO
45 doicon icons/tea_icon_v2.png
46
47 make_desktop_entry tea Tea tea_icon_v2 Utility
48 }

  ViewVC Help
Powered by ViewVC 1.1.20