summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGérald Fenoy <djay@gentoo.org>2007-02-07 12:25:54 +0000
committerGérald Fenoy <djay@gentoo.org>2007-02-07 12:25:54 +0000
commit60a804e39189455a8ff034a30bf1eeca91b19963 (patch)
tree084f80e2d459309df9cbf1cec6dbb36c68e8aba6 /sci-libs/geos/geos-2.2.1.ebuild
parentFixed an error with sed and error check it in the ebuild and converted einfo ... (diff)
downloadhistorical-60a804e39189455a8ff034a30bf1eeca91b19963.tar.gz
historical-60a804e39189455a8ff034a30bf1eeca91b19963.tar.bz2
historical-60a804e39189455a8ff034a30bf1eeca91b19963.zip
Use WANT_AUTOMAKE and WANT_AUTOCONF (#160050) and remove the static use flag (#165629).
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'sci-libs/geos/geos-2.2.1.ebuild')
-rw-r--r--sci-libs/geos/geos-2.2.1.ebuild33
1 files changed, 10 insertions, 23 deletions
diff --git a/sci-libs/geos/geos-2.2.1.ebuild b/sci-libs/geos/geos-2.2.1.ebuild
index d3a82bbe473e..497f4c2dc460 100644
--- a/sci-libs/geos/geos-2.2.1.ebuild
+++ b/sci-libs/geos/geos-2.2.1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.2.1.ebuild,v 1.6 2006/11/07 22:31:17 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.2.1.ebuild,v 1.7 2007/02/07 12:25:54 djay Exp $
-inherit eutils
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+inherit eutils autotools
DESCRIPTION="Geometry Engine - Open Source"
HOMEPAGE="http://geos.refractions.net"
@@ -11,7 +13,7 @@ SRC_URI="http://geos.refractions.net/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
-IUSE="static doc python"
+IUSE="doc python"
RDEPEND="virtual/libc"
DEPEND="${RDEPEND}
@@ -21,17 +23,12 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-gcc-41.patch
+ cd "${S}"
+ eautoreconf
}
src_compile() {
- cd ${S}
- libtoolize --force
-
- local myconf
- myconf=""
- use static && myconf="$(use_enable static)"
-
- econf ${myconf} || die "Error: econf failed"
+ econf --enable-static || die "Error: econf failed"
emake || die "Error: emake failed"
if use python; then
@@ -42,19 +39,9 @@ src_compile() {
fi
}
-src_test() {
- cd ${S}
- make check || die "Tring make check without success."
-# I think this test must be made after the PyGEOS installation
-# if use python; then
-# cd ${S}/swig/python
-# python tests/runtests.py -v
-# fi
-}
-
src_install(){
into /usr
- einstall
+ make DESTDIR="${D}" install
dodoc AUTHORS COPYING INSTALL NEWS README TODO
if use doc; then
cd ${S}/doc