summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2010-11-09 17:48:56 +0000
committerThomas Kahle <tomka@gentoo.org>2010-11-09 17:48:56 +0000
commit9198a457ce24473002d296b4b437ee80aeb8ee3f (patch)
tree1efd5f7708bdce2bced4686ebd27b31506e2430f /sci-mathematics
parentVersion bump to 3.1.0. Start cf-execd after cf-serverd. (diff)
downloadhistorical-9198a457ce24473002d296b4b437ee80aeb8ee3f.tar.gz
historical-9198a457ce24473002d296b4b437ee80aeb8ee3f.tar.bz2
historical-9198a457ce24473002d296b4b437ee80aeb8ee3f.zip
New package: sci-mathematics/topcom, revised import from sci overlay, fixes bug 285619
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/topcom/ChangeLog11
-rw-r--r--sci-mathematics/topcom/Manifest16
-rw-r--r--sci-mathematics/topcom/files/topcom-0.16.2-no-internal-libs.patch56
-rw-r--r--sci-mathematics/topcom/metadata.xml12
-rw-r--r--sci-mathematics/topcom/topcom-0.16.2.ebuild47
5 files changed, 142 insertions, 0 deletions
diff --git a/sci-mathematics/topcom/ChangeLog b/sci-mathematics/topcom/ChangeLog
new file mode 100644
index 000000000000..53a4bcea5d68
--- /dev/null
+++ b/sci-mathematics/topcom/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-mathematics/topcom
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/topcom/ChangeLog,v 1.1 2010/11/09 17:48:55 tomka Exp $
+
+*topcom-0.16.2 (09 Nov 2010)
+
+ 09 Nov 2010; Thomas Kahle <tomka@gentoo.org> +topcom-0.16.2.ebuild,
+ +files/topcom-0.16.2-no-internal-libs.patch, +metadata.xml:
+ New package: sci-mathematics/topcom, revised import from sci overlay,
+ fixes bug 285619
+
diff --git a/sci-mathematics/topcom/Manifest b/sci-mathematics/topcom/Manifest
new file mode 100644
index 000000000000..15378f2281c4
--- /dev/null
+++ b/sci-mathematics/topcom/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX topcom-0.16.2-no-internal-libs.patch 2417 RMD160 60a02ef673b45580d8a517b5ac502f1099601ab4 SHA1 ac286dae7872fda91d7e9ddbd7bb13b6c22de0ed SHA256 356c0fb1e01c6742b539f279966d575fa864d7a7ba9729945cfe3506b9ba3c3a
+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.2.ebuild 1310 RMD160 c31b08d4b883a050d95d3da72133041ad2f654ec SHA1 80e19b11191f05b850e8f43f63f6c8c4593e454e SHA256 89d302abdf91b073fa4b2ee5e86863a614fac0a5ab3815d6c349d1008b150129
+MISC ChangeLog 470 RMD160 e0ff60fa5b49ce44a73ba4936ca947a953fe3392 SHA1 69ad60d8c2f141ced6867e2dcea2cebd0b503d00 SHA256 0902304ccd2ebd48fd49d0315ea025854437832f5ea4eabd527a4262f5bad68a
+MISC metadata.xml 383 RMD160 e15ed041c760d248bcd8e519a4b0bbc9afeb7bc7 SHA1 8acebb24bfe2e75b37a93ef1e62b468b8feeb7d8 SHA256 f9b0ec0f57505ba477f51416aea110e1e11e5ca6063d0340651679d33c5cbecc
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzZih0ACgkQnZsgo/h8kNbqYACfTAfmGxDuLipAEG7B86KMDxcC
+X8QAoMDDUMVCCGLkZEwxo6ZaceZJRg7J
+=wIpP
+-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/topcom/files/topcom-0.16.2-no-internal-libs.patch b/sci-mathematics/topcom/files/topcom-0.16.2-no-internal-libs.patch
new file mode 100644
index 000000000000..9e89b1b5892b
--- /dev/null
+++ b/sci-mathematics/topcom/files/topcom-0.16.2-no-internal-libs.patch
@@ -0,0 +1,56 @@
+diff -U 3 -dHrN TOPCOM-0.16.2.orig/configure.in TOPCOM-0.16.2/configure.in
+--- TOPCOM-0.16.2.orig/configure.in 2009-10-15 09:00:51.000000000 +0200
++++ TOPCOM-0.16.2/configure.in 2010-11-09 18:02:19.000000000 +0100
+@@ -17,12 +17,8 @@
+ dnl AC_CHECK_LIB(stdc, main)
+ dnl Replace `main' with a function in -lstdc++:
+ dnl AC_CHECK_LIB(stdc++, main)
+-dnl Make libgmp:
+-make -C external gmp
+-dnl Make libcddgmp:
+-make -C external cdd
+ dnl Check for soplex:
+-AC_CHECK_LIB(soplex, main, , csh -c 'echo soplex not found: --soplex will not work.')
++AC_CHECK_LIB(soplex, main, , /bin/sh -c 'echo soplex not found: --soplex will not work.')
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+diff -U 3 -dHrN TOPCOM-0.16.2.orig/Makefile.am TOPCOM-0.16.2/Makefile.am
+--- TOPCOM-0.16.2.orig/Makefile.am 2009-10-15 07:36:24.000000000 +0200
++++ TOPCOM-0.16.2/Makefile.am 2010-11-09 18:02:19.000000000 +0100
+@@ -1,4 +1,2 @@
+ SUBDIRS = wrap-gmp-gmpxx lib-src-reg lib-src src-reg src examples
+-EXTRA_DIST = external/Makefile
+-EXTRA_DIST += external/gmp-4.3.0.tar.gz
+-EXTRA_DIST += external/cddlib-0.94f-TOPCOM.tar.gz
++
+diff -U 3 -dHrN TOPCOM-0.16.2.orig/src/Makefile.am TOPCOM-0.16.2/src/Makefile.am
+--- TOPCOM-0.16.2.orig/src/Makefile.am 2009-07-03 12:56:30.000000000 +0200
++++ TOPCOM-0.16.2/src/Makefile.am 2010-11-09 18:03:25.000000000 +0100
+@@ -76,10 +76,7 @@
+ santos_22_triang_SOURCES = santos_22_triang.cc
+
+ LDADD = ../lib-src/libTOPCOM.a \
+- ../lib-src-reg/libCHECKREG.a \
+- ../external/lib/libcddgmp.a \
+- ../external/lib/libgmpxx.a \
+- ../external/lib/libgmp.a
++ ../lib-src-reg/libCHECKREG.a
+
+ INCLUDES = -I../lib-src
+ INCLUDES += -I../lib-src-reg
+diff -U 3 -dHrN TOPCOM-0.16.2.orig/src-reg/Makefile.am TOPCOM-0.16.2/src-reg/Makefile.am
+--- TOPCOM-0.16.2.orig/src-reg/Makefile.am 2009-07-03 12:56:33.000000000 +0200
++++ TOPCOM-0.16.2/src-reg/Makefile.am 2010-11-09 18:02:40.000000000 +0100
+@@ -3,10 +3,7 @@
+ checkregularity_SOURCES = checkregularity.cc
+
+ LDADD = ../lib-src-reg/libCHECKREG.a \
+- ../lib-src/libTOPCOM.a \
+- ../external/lib/libcddgmp.a \
+- ../external/lib/libgmpxx.a \
+- ../external/lib/libgmp.a
++ ../lib-src/libTOPCOM.a
+
+ INCLUDES = -I../lib-src
+ INCLUDES += -I../lib-src-reg
diff --git a/sci-mathematics/topcom/metadata.xml b/sci-mathematics/topcom/metadata.xml
new file mode 100644
index 000000000000..fb6885a0e2c9
--- /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>
+<maintainer>
+<email>tomka@gentoo.org</email>
+<name>Thomas Kahle</name>
+</maintainer>
+<herd>sci</herd>
+<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 000000000000..869cd6d81722
--- /dev/null
+++ b/sci-mathematics/topcom/topcom-0.16.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/topcom/topcom-0.16.2.ebuild,v 1.1 2010/11/09 17:48:55 tomka Exp $
+
+EAPI="2"
+
+inherit autotools eutils flag-o-matic
+
+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="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="doc examples"
+
+DEPEND=">=dev-libs/gmp-4.1-r1
+ >=sci-libs/cddlib-094f"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/TOPCOM-${PV}
+
+src_prepare () {
+ # Don't compile internal GMP and CDD ...
+ epatch "${FILESDIR}"/${PN}-${PV}-no-internal-libs.patch
+
+ # ... and link in tree versions:
+ append-libs -lgmp -lgmpxx -lcddgmp
+
+ eautoreconf
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "Install failed"
+ dodoc AUTHORS ChangeLog NEWS README || die
+
+ if use doc; then
+ dohtml "${DISTDIR}"/TOPCOM-manual.html || die
+ fi
+
+ if use examples; then
+ dodir /usr/share/doc/${PF}/examples
+ cp -R "${S}"/examples/* "${D}"/usr/share/doc/${PF}/examples || die
+ fi
+}