summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/apertium/apertium-3.2.0.ebuild')
-rw-r--r--sci-misc/apertium/apertium-3.2.0.ebuild33
1 files changed, 14 insertions, 19 deletions
diff --git a/sci-misc/apertium/apertium-3.2.0.ebuild b/sci-misc/apertium/apertium-3.2.0.ebuild
index b5f4c1625cb1..a0330c1ead69 100644
--- a/sci-misc/apertium/apertium-3.2.0.ebuild
+++ b/sci-misc/apertium/apertium-3.2.0.ebuild
@@ -1,36 +1,31 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/apertium/apertium-3.2.0.ebuild,v 1.1 2011/07/29 06:13:10 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/apertium/apertium-3.2.0.ebuild,v 1.2 2012/04/25 17:07:18 jlec Exp $
EAPI=4
-inherit eutils autotools
+
+inherit autotools-utils
DESCRIPTION="Shallow-transfer machine Translation engine and toolbox"
HOMEPAGE="http://apertium.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-LICENSE="GPL-2"
+
SLOT="0"
+LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
-RDEPEND="virtual/libiconv
+RDEPEND="
dev-libs/libxslt
dev-libs/libpcre[cxx]
- >=sci-misc/lttoolbox-3.2"
+ >=sci-misc/lttoolbox-3.2
+ virtual/libiconv"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-src_prepare() {
- epatch "${FILESDIR}"/${PV}-flags.patch
- epatch "${FILESDIR}"/${PV}-datadir.patch
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable static-libs static)
-}
+PATCHES=(
+ "${FILESDIR}"/${PV}-flags.patch
+ "${FILESDIR}"/${PV}-datadir.patch
+ )
-src_compile() {
- # nasty to fix, be my guest, see apertium/Makefile.am
- emake -j1
-}
+MAKEOPTS+=" -j1"