aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/praat/praat-5.1.00.ebuild')
-rw-r--r--sci-misc/praat/praat-5.1.00.ebuild23
1 files changed, 14 insertions, 9 deletions
diff --git a/sci-misc/praat/praat-5.1.00.ebuild b/sci-misc/praat/praat-5.1.00.ebuild
index 25ae8d384..a71a7d372 100644
--- a/sci-misc/praat/praat-5.1.00.ebuild
+++ b/sci-misc/praat/praat-5.1.00.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI=4
+
inherit versionator
# FIXME: for versions with last part < 10 pad with zeroes
# e.g 4 => 4000, 5.1 => 5100, 5.2.7 => 5207.
@@ -10,7 +12,16 @@ MY_PV=$(delete_all_version_separators)
DESCRIPTION="Speech analysis and synthesis"
SRC_URI="http://www.fon.hum.uva.nl/praat/${PN}${MY_PV}_sources.tar.gz"
HOMEPAGE="http://www.fon.hum.uva.nl/praat/"
-DEPEND="|| ( ( x11-libs/libXmu
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="
+ || (
+ (
+ x11-libs/libXmu
x11-libs/libXt
x11-libs/libX11
x11-libs/libICE
@@ -22,18 +33,13 @@ DEPEND="|| ( ( x11-libs/libXmu
)
x11-libs/openmotif"
RDEPEND="${DEPEND}"
-KEYWORDS="~amd64"
-IUSE=""
-LICENSE="GPL-2"
-SLOT="0"
S="${WORKDIR}/sources_${MY_PV}"
-src_compile() {
+src_prepare() {
# TODO: following line should be updated for non-linux etc. builds
# (Flammie does not have testing equipment)
cp "${S}/makefiles/makefile.defs.linux.dynamic" "${S}/makefile.defs"
- emake || die "emake failed"
}
src_install() {
@@ -48,4 +54,3 @@ src_install() {
insinto /usr/share/${PN}/logisticRegression
doins test/logisticRegression/*
}
-