Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
sci-libs/geos/geos-{3.2.3,3.3.1}
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kubacki committed Oct 6, 2011
1 parent d793f60 commit 5962c38
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 5 deletions.
6 changes: 4 additions & 2 deletions sci-libs/geos/Manifest
@@ -1,7 +1,9 @@
AUX geos-3.2.0-ARM.patch 530 RMD160 7b3146bbeb45d5fa8390f7526e89773f1496d88c SHA1 6e65d280992404c332b4fa016c0c2ca6d37904d7 SHA256 31d55433249fadda8b34690ca69a4f20d0004c812a69007f76950346c4ba6c5c
DIST geos-3.2.2.tar.bz2 1664073 RMD160 95342be083175f38c8c87b5682271253320f3d60 SHA1 6917d6d1d4e79f58d9f931bf351024709fabbc5a SHA256 24df7c2119936fe0bcaa66e0b05aa28a875e373095cc05ee7eff404330e3211c
DIST geos-3.2.3.tar.bz2 1679240 RMD160 0cde5a08c2fc77db99359e52ce9413ae9cafb683 SHA1 465efe3b38ea34aa3b254703b2f119f92e9aea3b SHA256 32cc3abb48e4a362cd61cf855e35d52961efc31b5efef84efad329ef158098b7
DIST geos-3.3.0rc1.tar.bz2 1749810 RMD160 26dfd42fe2843466f117a48d008058c088ffaeab SHA1 6a8f7153d887d7a5085dcee62251b6f9c82a2283 SHA256 8f2f5966a6d68073437a48d9b5cb4b84ed4bf070ad85ee754f169601f39d39d6
DIST geos-3.3.0rc2.tar.bz2 1755386 RMD160 e48307b83519ce22d1d09b63d28db7839943b8f6 SHA1 0800e7b3c42b19f472146c00eb19cd76d9e2654b SHA256 ad97942a949629678929d2486f2d38618e8c438981453251d07429356d76d79e
EBUILD geos-3.2.2.ebuild 1184 RMD160 ecb419f4fb4459f7439646bee426ec8ffa07a2b7 SHA1 b6e02b137afb5c4fd1627b54f6485b49f1428ecd SHA256 4717d12ae71396d65b68ae819e8b12b3f3996d4f74888863f19250e025c9f5cf
DIST geos-3.3.1.tar.bz2 1791111 RMD160 cffb84f98b48330e93505c3f8cfcd090c33fb2e8 SHA1 4f89e62c636dbf3e5d7e1bfcd6d9a7bff1bcfa60 SHA256 3e0a158df06e8f3c6a23978feb62e5c91f2f8239b6ad9d9abc2bd2958abb94c2
EBUILD geos-3.2.3.ebuild 1288 RMD160 05facefb092416f1de2045443f146be60ae72c1c SHA1 b002057c1198b44a6e35fd511a2a3dc04a6545e1 SHA256 a91d5a009bb2b6f123883083a4e5b96e0fd6f5702d74f488ebc9be6d23631d61
EBUILD geos-3.3.0_rc1.ebuild 1228 RMD160 80ed13f0ffe90605b04d470f78a47343e7c2940f SHA1 e21d30a882fb49346e737450fc007cdb581f9d99 SHA256 2f0a1e22c79fed0fedde201a3433a208dfee4be602edce5c4e80273ad745b217
EBUILD geos-3.3.0_rc2.ebuild 1138 RMD160 e26f32db7a3f2fe8c9de90cc4c68f1fc6914a80c SHA1 91255a9bfbba82aa84d7b7069581e8aa8829b0cb SHA256 cf06319694ad338987c84b8a98eae6579239f300d5b24259df90301996935ee1
EBUILD geos-3.3.1.ebuild 1258 RMD160 7f458dd2bdcd868d260df4fd84f05795881ada61 SHA1 de6664ecb72e95f0a7839900ae86e4e13642c072 SHA256 0f76e40eefe96a35fadebfb2ed44a5642f2fc78daf95628cc41b65da719e4026
@@ -1,9 +1,9 @@
# Copyright 1999-2009 W-Mark Kubacki
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the OSI Reciprocal Public License
# $Header: $

EAPI=2
inherit eutils
inherit eutils flag-o-matic

DESCRIPTION="Geometry engine library for Geographic Information Systems"
HOMEPAGE="http://geos.refractions.net"
Expand All @@ -12,7 +12,7 @@ RESTRICT="primaryuri"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86 arm"
KEYWORDS="amd64 x86 arm"
IUSE="doc python ruby"

RDEPEND="ruby? ( virtual/ruby )
Expand All @@ -26,13 +26,15 @@ src_prepare() {
sed -i \
-e 's:\/lib\/python:$libdir\/python:g' \
-e 's:.get_python_lib(0:.get_python_lib(1:g' \
-e 's:"$base_python_path/":"$base_python_path/lib*/":g' \
configure || die
if use arm; then
epatch "${FILESDIR}/${PN}-3.2.0-ARM.patch"
fi
}

src_configure() {
filter-flags -combine -fwhole-program -fwhopr
econf $(use_enable python) $(use_enable ruby)
}

Expand Down
55 changes: 55 additions & 0 deletions sci-libs/geos/geos-3.3.1.ebuild
@@ -0,0 +1,55 @@
# Copyright 1999-2009 W-Mark Kubacki
# Distributed under the terms of the OSI Reciprocal Public License
# $Header: $

EAPI=2
inherit eutils flag-o-matic

DESCRIPTION="Geometry engine library for Geographic Information Systems"
HOMEPAGE="http://geos.refractions.net"
SRC_URI="http://download.osgeo.org/geos/${PN}-${PV/_/}.tar.bz2"
RESTRICT="primaryuri"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc python ruby"

RDEPEND="ruby? ( virtual/ruby )
python? ( virtual/python )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
ruby? ( dev-lang/swig )
python? ( dev-lang/swig )"

S="${WORKDIR}/${PN}-${PV/_/}"

src_prepare() {
sed -i \
-e 's:\/lib\/python:$libdir\/python:g' \
-e 's:.get_python_lib(0:.get_python_lib(1:g' \
-e 's:"$base_python_path/":"$base_python_path/lib*/":g' \
configure || die
}

src_configure() {
filter-flags -combine -fwhole-program -fwhopr
econf $(use_enable python) $(use_enable ruby)
}

src_compile() {
emake || die "emake failed"
if use doc; then
cd "${S}/doc"
emake doxygen-html || die "doc generation failed"
fi
}

src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS NEWS README TODO
if use doc; then
cd "${S}/doc"
dohtml -r doxygen_docs/html/* || die
fi
}

0 comments on commit 5962c38

Please sign in to comment.