aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tom111@gmx.de>2010-02-16 17:16:56 +0100
committerThomas Kahle <tom111@gmx.de>2010-02-16 17:17:44 +0100
commit7914bee93d21e99d6ce4312e6d31ff37c0ed4f3d (patch)
treea14c8236a46f7342fb6935bd1614aeabc2b9e06e /sci-mathematics
parent[sci-chemistry/gromacs] threads now on by default and they works fine with mpi (diff)
downloadsci-7914bee93d21e99d6ce4312e6d31ff37c0ed4f3d.tar.gz
sci-7914bee93d21e99d6ce4312e6d31ff37c0ed4f3d.tar.bz2
sci-7914bee93d21e99d6ce4312e6d31ff37c0ed4f3d.zip
sci-mathmatics/topcom-0.16.2 added
Kudos to Johannes Rauh
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/topcom/ChangeLog10
-rw-r--r--sci-mathematics/topcom/Manifest6
-rw-r--r--sci-mathematics/topcom/files/topcom-0.16.2-no-external.diff35
-rw-r--r--sci-mathematics/topcom/metadata.xml12
-rw-r--r--sci-mathematics/topcom/topcom-0.16.2.ebuild57
5 files changed, 117 insertions, 3 deletions
diff --git a/sci-mathematics/topcom/ChangeLog b/sci-mathematics/topcom/ChangeLog
index aca831938..46dbf3ffa 100644
--- a/sci-mathematics/topcom/ChangeLog
+++ b/sci-mathematics/topcom/ChangeLog
@@ -1,7 +1,13 @@
-# ChangeLog for sci-mathematics/Macaulay2
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# ChangeLog for sci-mathematics/topcom
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*topcom-0.16.2 (16 Feb 2010)
+
+ 16 Feb 2010; Thomas Kahle <tom111@gmx.de> +topcom-0.16.2.ebuild,
+ +files/topcom-0.16.2-no-external.diff, +metadata.xml:
+ Version Bump to 0.16.2, requires less patches
+
19 September 2009; Thomas Kahle <tom111@gmx.de> +topcom-0.16.0.
+metadata.xml +ChangeLog +files/topcom-0.16.0-no-external.diff
+files/topcom-0.16.0-LPinterface.diff
diff --git a/sci-mathematics/topcom/Manifest b/sci-mathematics/topcom/Manifest
index 2e5849de1..10408c30c 100644
--- a/sci-mathematics/topcom/Manifest
+++ b/sci-mathematics/topcom/Manifest
@@ -1,6 +1,10 @@
AUX topcom-0.16.0-LPinterface.diff 796 RMD160 a818431a291aebe71970a0cfbf64ab8137a6abb5 SHA1 f3c944022279da973dc0f8358c95556639690f15 SHA256 798bd435bc7bc338b230c78208c6068376873369e490cf46c4ab0791e3141b5c
AUX topcom-0.16.0-no-external.diff 1060 RMD160 d22e7d4dafb86b3a5466fa89304958bd7df0bfb1 SHA1 cef874e87b5155d4295cf0b11160ff578d5c0400 SHA256 48addd0cd7855553876138aeb3f591b5d9b51b504f602fc785e37ec70ed828d2
+AUX topcom-0.16.2-no-external.diff 1060 RMD160 8bdd19836294069078112a3ce37bcc8a116bba59 SHA1 6a7bafa1f4bb32174b6e2bf842b6492170763073 SHA256 eb15f68ab315b5090e6fd50a84519c77f71d80cf91402fae304ca0ba753a1143
DIST TOPCOM-0.16.0.tar.gz 22983003 RMD160 6e24bf6f0b39587f7655d2704ec05a8c75613fe2 SHA1 22565728fd560221c1d5f9992e0e767e5720e126 SHA256 a389f171740f7b44de3ceb012197961ffb7a7c8dfcc4ba8fc14c46c9f1590003
+DIST TOPCOM-0.16.2.tar.gz 22578125 RMD160 e95ba642892232ed58c66d8e56d1ab6d4cb379e8 SHA1 b88fc7d220aaa0fae81169c617ce216ed2b07b3b SHA256 9c292be797ca87bcd20b96fc35347b42d0c7ade22ac98d41d44994ed0de42f80
DIST TOPCOM-manual.html 19251 RMD160 287615b14af62033842a8c60ffc2ca78f5e8df97 SHA1 7e135468afa957a6aa6be887dbec21dc1314c834 SHA256 b1c3b326044fdb512264fa2bde6fa10962fd276d43fcab71cb0dc8778378608e
EBUILD topcom-0.16.0.ebuild 1619 RMD160 6c87580b744e21d5eba1f321ce4a57b85360366d SHA1 8f17117c6835c1e86d11104743f410a6a2d03963 SHA256 ea603a470a621e50e93ea93e208d79e14ac00be9a03e10aca2df547fa6fda172
-MISC ChangeLog 326 RMD160 c538a5e1371ce220b7abc15ec325cccb9f416f8e SHA1 713c3d9c5d716af70f9b78543c769299206b97b9 SHA256 799c3ee5f6c02aefe0895efef38835ecc6d5df22623c68808c7877e9138bc812
+EBUILD topcom-0.16.2.ebuild 1671 RMD160 57baf924872c0434e215cfa02b813fbf1a7c4341 SHA1 e535302f2b59bba5fc32df0cdf24205588338036 SHA256 1c5d42c21af89a668ff2745b0cb1a0841e05ab23dc15e3f981f35bb0eae5667b
+MISC ChangeLog 525 RMD160 c9a83adc2edebdbd124ea9f1472b327bfb2812a1 SHA1 32f96a11cbfd591dcde90bf238f654812d5819b8 SHA256 ac805b932255c8c928e33395034b9bf1c4171472a08b07c4e7f15148cde4c211
+MISC metadata.xml 380 RMD160 9c52a7eec9eafe9686f691a59f46ca050e2dbbf9 SHA1 eb42609ff400743a68228c2b6bd4a35d67c2e479 SHA256 b57e2c350e30968d922737615996ccb810fd112515298506fe95b4ad0d1ed486
diff --git a/sci-mathematics/topcom/files/topcom-0.16.2-no-external.diff b/sci-mathematics/topcom/files/topcom-0.16.2-no-external.diff
new file mode 100644
index 000000000..d9831b269
--- /dev/null
+++ b/sci-mathematics/topcom/files/topcom-0.16.2-no-external.diff
@@ -0,0 +1,35 @@
+--- configure 2009-04-30 12:17:25.000000000 +0200
++++ configure.new 2009-06-17 00:22:55.000000000 +0200
+@@ -3909,8 +3909,8 @@
+ fi
+
+
+-make -C external gmp
+-make -C external cdd
++# make -C external gmp
++# make -C external cdd
+
+
+ { echo "$as_me:$LINENO: checking for main in -lsoplex" >&5
+--- Makefile.in 2009-04-30 14:23:14.000000000 +0200
++++ Makefile.in.new 2009-06-17 00:57:15.000000000 +0200
+@@ -56,7 +56,7 @@
+ ETAGS = etags
+ CTAGS = ctags
+ DIST_SUBDIRS = $(SUBDIRS)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+ am__remove_distdir = \
+@@ -157,8 +157,8 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = wrap-gmp-gmpxx lib-src-reg lib-src src-reg src examples
+-EXTRA_DIST = external/Makefile external/gmp-4.3.0.tar.gz \
+- external/cddlib-0.94f-TOPCOM.tar.gz
++# EXTRA_DIST = external/Makefile external/gmp-4.3.0.tar.gz \
++# external/cddlib-0.94f-TOPCOM.tar.gz
+ all: all-recursive
+
+ .SUFFIXES:
diff --git a/sci-mathematics/topcom/metadata.xml b/sci-mathematics/topcom/metadata.xml
new file mode 100644
index 000000000..0a668171f
--- /dev/null
+++ b/sci-mathematics/topcom/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+<email>tom111@gmx.de</email>
+<name>Thomas Kahle</name>
+</maintainer>
+<longdescription lang="en">
+TOPCOM is a package for computing Triangulations Of Point Configurations and Oriented Matroids
+</longdescription>
+</pkgmetadata>
diff --git a/sci-mathematics/topcom/topcom-0.16.2.ebuild b/sci-mathematics/topcom/topcom-0.16.2.ebuild
new file mode 100644
index 000000000..311cb41f4
--- /dev/null
+++ b/sci-mathematics/topcom/topcom-0.16.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="A package for computing Triangulations Of Point Configurations and Oriented Matroids."
+SRC_URI="http://www.uni-bayreuth.de/departments/wirtschaftsmathematik/rambau/Software/TOPCOM-$PV.tar.gz
+ doc? ( http://www.rambau.wm.uni-bayreuth.de/TOPCOM/TOPCOM-manual.html )"
+HOMEPAGE="http://www.rambau.wm.uni-bayreuth.de/TOPCOM/"
+
+KEYWORDS="~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="doc examples"
+
+DEPEND=">=dev-libs/gmp-4.1-r1
+ >=sci-libs/cddlib-094f"
+
+S="${WORKDIR}"/TOPCOM-${PV}
+
+# src_unpack () {
+## TODO: GMP und CDD nicht entpacken.
+# unpack ${A} || die "unpack failed"
+## um zu testen, ob GMP und CDD wirklich nicht verwendet werden:
+# cd "${S}"
+# rm -r external
+# }
+
+src_prepare () {
+## Patch: GMP und CDD nicht compilieren
+ epatch "${FILESDIR}"/${PN}-${PV}-no-external.diff
+
+## Remove all references to directory ../external
+ sed -e 's#../external/lib#/usr/lib#g' -i src/Makefile.in || \
+ die "sed failed on src/Makefile.in"
+ sed -e 's#../external/lib#/usr/lib#g' -e 's#../external/include#/usr/include#g' -i src-reg/Makefile.in || \
+ die "sed failed on src-reg/Makefile.in"
+
+## Replace csh by bash:
+ sed -e "s#csh #${SHELL} #g" -i configure || \
+ die "sed failed on configure"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "Install failed"
+ dodoc AUTHORS ChangeLog NEWS README || die
+
+ use doc && dohtml "${DISTDIR}"/TOPCOM-manual.html
+
+ if use examples; then
+ dodir /usr/share/doc/${PF}/examples
+ cp -R "${S}"/examples/* "${D}"/usr/share/doc/${PF}/examples
+ fi
+}