summaryrefslogtreecommitdiff
path: root/sci-libs/gamer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/gamer
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/gamer')
-rw-r--r--sci-libs/gamer/Manifest7
-rw-r--r--sci-libs/gamer/files/1.4-doc.patch20
-rw-r--r--sci-libs/gamer/files/1.4-multilib.patch26
-rw-r--r--sci-libs/gamer/gamer-1.5-r2.ebuild51
-rw-r--r--sci-libs/gamer/metadata.xml8
5 files changed, 112 insertions, 0 deletions
diff --git a/sci-libs/gamer/Manifest b/sci-libs/gamer/Manifest
new file mode 100644
index 000000000000..86359b72048a
--- /dev/null
+++ b/sci-libs/gamer/Manifest
@@ -0,0 +1,7 @@
+AUX 1.4-doc.patch 535 SHA256 dadce11b0201712e55bf1ddc095f174b2ea5424ce37c29ac7f815b4211a27a95 SHA512 639f0e80eb116c77d723f707488cd66124f1eaefa2f74c2fff80152ce0cf7f17b9c334f33500eeb0f78f11b0574bb20945dcd9718b1ef5e9a149ccce07981228 WHIRLPOOL aa5b23cf2be9ec818269b5733c7a142972cd95282ebcad46b2bf39b875c59c3961d297413aa1443b4eaa9413f5f0919cfc31a50b9852fa8fa0a47a44e69d7a93
+AUX 1.4-multilib.patch 872 SHA256 caf21218d42403d86662b35c5ceeaaf28040435266af4ae01acebfee90213a98 SHA512 44ac7731277c47b822bbcac11b62d62e397c539d7a9dd32c805ee656ecc2cc4cad2878082212abded212419bf609823c21f9d351ad828a07357c9b2900c112e9 WHIRLPOOL df95ada76b55ad18d676ee9880653f9451f259159ef6c593bf9a56774d9c0f950d8d5ff52c4f9bbf43915d691e5dfac15c613779b5d633fe113606bd04e2cb82
+DIST gamer-1.5.tar.gz 4232061 SHA256 3dce4a5137bf1a2b4ee84bde425ea83937b5f8442f1b95b1d284f07dae933788 SHA512 4911b208ae5cd7be7ef165bac8fc9680ff03c0936881ae3d162205df9ef4f3fb176455e27b2f4ca202c3129352156cf5166b1d7d99fde7b281b404e383f72a44 WHIRLPOOL cc32e8772d32bc11a2bed8f5bad124ff4a1c3fad2e2f15462c9fb710f8de82547ae5db9ad0a87a6469ca9839c4e066c9eadc32c5decdb9c207eead2f8a939eb2
+EBUILD gamer-1.5-r2.ebuild 1046 SHA256 4cc45f02d26884212e848d08cc00ca67016dd1a538b8a4b742c5979b3f8f2ed0 SHA512 121137d107e05365205df6162b3908445c0cac4cb481ed15fde1522c96753dc1fe07f7b4f710063dc9b9146976752661b329f28176900debfd7779a4afdf2a50 WHIRLPOOL 985eb71cc5fa792711a5619b021dcff234dafe50e18af8f183021ad67efde196d612387cc211910674559a7c05ad37f7bc9677ef2a3dc8e8978849d98e8a79f1
+MISC ChangeLog 2645 SHA256 489adc47b07ead7306c4f3f97ca18116daf497f76433f7af6e03dcdee5809516 SHA512 47dae237bac1fb5bf684e105a23146aba598798e14f39735c83098fb1623421fd7869497aabef59a0982c086ea7da67b4bd34ad107dff8b34ddf56f43f77e575 WHIRLPOOL 6855ec3b71c059f403cd630a3120535b6d8046d8c411360c6b01116db27b39338145ca145a3de5fac3a1be7b0d0e5a3582de9f3f0eb3b46dc6c9d97fb19b23b1
+MISC ChangeLog-2015 1552 SHA256 f32bb13124db8ec9136c068d9110192226676eab5bf714b1ac4cfa5719c85382 SHA512 a27ca50bb5c57673a14c56f62a306c39dd2a4adcc429691a466c0d669d6c75eab15ea54ff1e4fe64cb2539406f3cb2fda00312cea4ef1f5f73d885085b49156d WHIRLPOOL 9e4a4ffcc4c94f91c189eed9fe407dd7ea8d911767b9506ea316f14ba51153535b4513c176b25dc8d7d9d526311121ee1978d396424aca0fca020cf203328c7f
+MISC metadata.xml 259 SHA256 bbfbeb80ffccffa8e7f837d2c93e994bbe024d565ae3a31d30c6646e80a684c8 SHA512 19fb78cf4029c154954a40df40e28fc8d98a8b7e6b42f97259f664d44c29b284feffb9d073cadc7f90b5654a64b2466e186cb677d3a11830206f173eb9057706 WHIRLPOOL 75b8dd1a97dde63f9cc9f73b5951eaf54579460763ef7cbe6f3a9a0739070601d762152ea00df8b476b80e92e5c29b611a494bac5ab747298942530cabe0ee84
diff --git a/sci-libs/gamer/files/1.4-doc.patch b/sci-libs/gamer/files/1.4-doc.patch
new file mode 100644
index 000000000000..642601bcc17b
--- /dev/null
+++ b/sci-libs/gamer/files/1.4-doc.patch
@@ -0,0 +1,20 @@
+diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
+index 4067c1c..43867e2 100644
+--- a/doc/doxygen/Makefile.am
++++ b/doc/doxygen/Makefile.am
+@@ -9,13 +9,11 @@
+ ## Author: Michael Holst
+ ## ###########################################################################
+
+-docdir = @prefix@/doc/gamer
+-
+ doc_DATA = gamer_doc
+
+ gamer_doc:
+ $(doxygen_path) $(top_srcdir)/doc/doxygen/gamer.dox
+
+ install-docDATA:
+- mkdir -p $(docdir)
+- cp -r ../api $(docdir)/
++ mkdir -p $(DESTDIR)/@docdir@
++ cp -r ../api $(DESTDIR)/@docdir@
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..3ebc8dcd7aab
--- /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++ ../tetgen/libtetgen.la
+ 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.5-r2.ebuild b/sci-libs/gamer/gamer-1.5-r2.ebuild
new file mode 100644
index 000000000000..23cbb8033662
--- /dev/null
+++ b/sci-libs/gamer/gamer-1.5-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils 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="doc static-libs"
+
+RDEPEND=">=dev-libs/maloc-1.4"
+DEPEND="
+ ${RDEPEND}
+ doc? (
+ media-gfx/graphviz
+ app-doc/doxygen
+ )"
+
+S="${WORKDIR}"/${PN}
+
+PATCHES=(
+ "${FILESDIR}"/1.4-multilib.patch
+ "${FILESDIR}"/1.4-doc.patch
+ )
+
+src_configure() {
+ local fetk_include
+ local fetk_lib
+ local myeconfargs
+
+ 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}"
+
+ myeconfargs+=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ --disable-triplet
+ )
+ autotools-utils_src_configure
+}
diff --git a/sci-libs/gamer/metadata.xml b/sci-libs/gamer/metadata.xml
new file mode 100644
index 000000000000..8425c0d53cb0
--- /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>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>