diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-11-01 14:30:16 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-11-01 14:30:16 +0000 |
commit | 8193315393d38b3e1474905b764b8d9102f82b6f (patch) | |
tree | dde545fd3f6da344adc6bf7df34d9b0bbf90f239 /sci-libs/gamer | |
parent | Version bump (diff) | |
download | gentoo-2-8193315393d38b3e1474905b764b8d9102f82b6f.tar.gz gentoo-2-8193315393d38b3e1474905b764b8d9102f82b6f.tar.bz2 gentoo-2-8193315393d38b3e1474905b764b8d9102f82b6f.zip |
New addition
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/gamer')
-rw-r--r-- | sci-libs/gamer/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/gamer/files/1.4-multilib.patch | 26 | ||||
-rw-r--r-- | sci-libs/gamer/gamer-1.4.ebuild | 44 | ||||
-rw-r--r-- | sci-libs/gamer/metadata.xml | 8 |
4 files changed, 88 insertions, 0 deletions
diff --git a/sci-libs/gamer/ChangeLog b/sci-libs/gamer/ChangeLog new file mode 100644 index 000000000000..9faf6e296fb0 --- /dev/null +++ b/sci-libs/gamer/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-libs/gamer +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gamer/ChangeLog,v 1.1 2010/11/01 14:30:16 jlec Exp $ + +*gamer-1.4 (01 Nov 2010) + + 01 Nov 2010; Justin Lecher <jlec@gentoo.org> +files/1.4-multilib.patch, + +gamer-1.4.ebuild, +metadata.xml: + New addition + diff --git a/sci-libs/gamer/files/1.4-multilib.patch b/sci-libs/gamer/files/1.4-multilib.patch new file mode 100644 index 000000000000..85ccc9539839 --- /dev/null +++ b/sci-libs/gamer/files/1.4-multilib.patch @@ -0,0 +1,26 @@ +diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am +index de1d7c3..b2420c8 100644 +--- a/src/aaa_lib/Makefile.am ++++ b/src/aaa_lib/Makefile.am +@@ -35,18 +35,17 @@ LIBTETGEN = libtetgen.la + #LIBTETGEN = + #endif + +-libdir = ${prefix}/lib + lib_LTLIBRARIES = libgamer.la ${LIBTRIANGLE} ${LIBTETGEN} + + libgamer_la_SOURCES = +-libgamer_la_LIBADD = ${BASE_LIBS} ${BIOM_LIBS} ++libgamer_la_LIBADD = ${BASE_LIBS} ${BIOM_LIBS} -lm -lstdc++ + libgamer_la_LDFLAGS = -version-info ${FETK_VERSION} + + libtriangle_la_SOURCES = +-libtriangle_la_LIBADD = ${TRIANGLE_LIBS} ++libtriangle_la_LIBADD = ${TRIANGLE_LIBS} -lm + libtriangle_la_LDFLAGS = -version-info ${FETK_VERSION} + + libtetgen_la_SOURCES = +-libtetgen_la_LIBADD = ${TETGEN_LIBS} ++libtetgen_la_LIBADD = ${TETGEN_LIBS} -lm -lstdc++ + libtetgen_la_LDFLAGS = -version-info ${FETK_VERSION} + diff --git a/sci-libs/gamer/gamer-1.4.ebuild b/sci-libs/gamer/gamer-1.4.ebuild new file mode 100644 index 000000000000..ea3b6f633c5f --- /dev/null +++ b/sci-libs/gamer/gamer-1.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gamer/gamer-1.4.ebuild,v 1.1 2010/11/01 14:30:16 jlec Exp $ + +EAPI="3" + +inherit autotools eutils multilib + +DESCRIPTION="Geometry-preserving Adaptive MeshER" +HOMEPAGE="http://fetk.org/codes/gamer/index.html" +SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-2" +IUSE="" + +RDEPEND="dev-libs/maloc" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-multilib.patch + eautoreconf +} + +src_configure() { + local fetk_include + local fetk_lib + + fetk_include="${EPREFIX}"/usr/include + fetk_lib="${EPREFIX}"/usr/$(get_libdir) + export FETK_INCLUDE="${fetk_include}" + export FETK_LIBRARY="${fetk_lib}" + + econf \ + --disable-triplet \ + --enable-shared +} + +src_install() { + emake DESTDIR="${D}" install || die +} diff --git a/sci-libs/gamer/metadata.xml b/sci-libs/gamer/metadata.xml new file mode 100644 index 000000000000..c6856dc7f2cf --- /dev/null +++ b/sci-libs/gamer/metadata.xml @@ -0,0 +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> +</pkgmetadata> |