/[gentoo-x86]/app-text/teckit/teckit-2.5.1.ebuild
Gentoo

Contents of /app-text/teckit/teckit-2.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.23 - (show annotations) (download)
Wed May 9 13:15:00 2012 UTC (2 years, 4 months ago) by aballier
Branch: MAIN
Changes since 1.22: +3 -3 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)

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-text/teckit/teckit-2.5.1.ebuild,v 1.22 2011/10/04 17:39:41 jer Exp $
4
5 EAPI="2"
6
7 inherit autotools eutils
8
9 MY_P=TECkit_${PV//./_}
10 DESCRIPTION="Text Encoding Conversion toolkit"
11 HOMEPAGE="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=TECkit"
12 SRC_URI="http://scripts.sil.org/svn-view/teckit/TAGS/${MY_P}.tar.gz"
13
14 LICENSE="|| ( CPL-0.5 LGPL-2.1 )"
15 SLOT="0"
16 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
17 IUSE=""
18
19 RDEPEND="sys-libs/zlib
20 dev-libs/expat"
21 DEPEND="${RDEPEND}"
22
23 S=${WORKDIR}/${MY_P}
24
25 src_prepare() {
26 epatch "${FILESDIR}/${P}-rc.patch"
27 epatch "${FILESDIR}/${P}-gcc43.patch"
28 epatch "${FILESDIR}/${P}-mixcflagscxxflags.patch"
29 rm -f configure
30 eautoreconf
31 }
32
33 src_install() {
34 emake DESTDIR="${D}" install || die
35 dodoc AUTHORS README NEWS
36 }
37
38 src_test() {
39 cd "${S}/test"
40 chmod +x dotests.pl
41 ./dotests.pl || die "tests failed"
42 }

  ViewVC Help
Powered by ViewVC 1.1.20