summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-04-30 17:21:36 +0000
committerJustin Lecher <jlec@gentoo.org>2012-04-30 17:21:36 +0000
commitdd2ec3487a61b606c6a0ce9e6e103bf6803aeaca (patch)
tree57ae3b5a4c7d4f9884d1a51de53ef77e36748167 /sci-libs/gamer
parentx11-libs/libxdl_view: Handle static libs (diff)
downloadgentoo-2-dd2ec3487a61b606c6a0ce9e6e103bf6803aeaca.tar.gz
gentoo-2-dd2ec3487a61b606c6a0ce9e6e103bf6803aeaca.tar.bz2
gentoo-2-dd2ec3487a61b606c6a0ce9e6e103bf6803aeaca.zip
sci-libs/gamer: Handle static libs
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/gamer')
-rw-r--r--sci-libs/gamer/ChangeLog7
-rw-r--r--sci-libs/gamer/gamer-1.5.ebuild40
-rw-r--r--sci-libs/gamer/metadata.xml8
3 files changed, 27 insertions, 28 deletions
diff --git a/sci-libs/gamer/ChangeLog b/sci-libs/gamer/ChangeLog
index 084787899ac5..bfaad2688f23 100644
--- a/sci-libs/gamer/ChangeLog
+++ b/sci-libs/gamer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/gamer
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gamer/ChangeLog,v 1.3 2011/04/16 07:35:35 jlec Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gamer/ChangeLog,v 1.4 2012/04/30 17:21:36 jlec Exp $
+
+ 30 Apr 2012; Justin Lecher <jlec@gentoo.org> gamer-1.5.ebuild, metadata.xml:
+ Handle static libs
*gamer-1.5 (16 Apr 2011)
diff --git a/sci-libs/gamer/gamer-1.5.ebuild b/sci-libs/gamer/gamer-1.5.ebuild
index 47963e2b1b94..1f0f0403c21a 100644
--- a/sci-libs/gamer/gamer-1.5.ebuild
+++ b/sci-libs/gamer/gamer-1.5.ebuild
@@ -1,10 +1,12 @@
-# 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-libs/gamer/gamer-1.5.ebuild,v 1.1 2011/04/16 07:35:35 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gamer/gamer-1.5.ebuild,v 1.2 2012/04/30 17:21:36 jlec Exp $
-EAPI="3"
+EAPI=4
-inherit autotools eutils multilib
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils multilib
DESCRIPTION="Geometry-preserving Adaptive MeshER"
HOMEPAGE="http://fetk.org/codes/gamer/index.html"
@@ -13,7 +15,7 @@ SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-2"
-IUSE="doc"
+IUSE="doc static-libs"
RDEPEND=">=dev-libs/maloc-1.4"
DEPEND="
@@ -24,32 +26,26 @@ DEPEND="
S="${WORKDIR}"/${PN}
-src_prepare() {
- epatch \
- "${FILESDIR}"/1.4-multilib.patch \
- "${FILESDIR}"/1.4-doc.patch
- eautoreconf
-}
+PATCHES=(
+ "${FILESDIR}"/1.4-multilib.patch
+ "${FILESDIR}"/1.4-doc.patch )
src_configure() {
local fetk_include
local fetk_lib
- local myconf
+ local myeconfargs
- use doc || myconf="${myconf} --with-doxygen= --with-dot="
+ use doc || myeconfargs+=( ${myconf} --with-doxygen= --with-dot= )
fetk_include="${EPREFIX}"/usr/include
fetk_lib="${EPREFIX}"/usr/$(get_libdir)
export FETK_INCLUDE="${fetk_include}"
export FETK_LIBRARY="${fetk_lib}"
- econf \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- --disable-triplet \
- --enable-shared \
- ${myconf}
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
+ myeconfargs+=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ --disable-triplet
+ --enable-shared
+ )
+ autotools-utils_src_configure
}
diff --git a/sci-libs/gamer/metadata.xml b/sci-libs/gamer/metadata.xml
index c6856dc7f2cf..210ad0db014c 100644
--- a/sci-libs/gamer/metadata.xml
+++ b/sci-libs/gamer/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<maintainer>
- <email>jlec@gentoo.org</email>
-</maintainer>
+ <herd>sci</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>