summaryrefslogtreecommitdiff
path: root/sci-physics/looptools
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-physics/looptools
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-physics/looptools')
-rw-r--r--sci-physics/looptools/Manifest10
-rw-r--r--sci-physics/looptools/files/looptools-2.10-makefile.patch98
-rw-r--r--sci-physics/looptools/files/looptools-2.8-makefile.patch96
-rw-r--r--sci-physics/looptools/looptools-2.12.ebuild37
-rw-r--r--sci-physics/looptools/looptools-2.13.ebuild41
-rw-r--r--sci-physics/looptools/looptools-2.8.ebuild37
-rw-r--r--sci-physics/looptools/metadata.xml15
7 files changed, 334 insertions, 0 deletions
diff --git a/sci-physics/looptools/Manifest b/sci-physics/looptools/Manifest
new file mode 100644
index 000000000000..231d88f7070d
--- /dev/null
+++ b/sci-physics/looptools/Manifest
@@ -0,0 +1,10 @@
+AUX looptools-2.10-makefile.patch 2441 SHA256 7d30eab6263251a27ff069f7888fe1c4b4fed60809f2ff0ba10d4bbcb3cb93f9 SHA512 2fefd3ccce9568481871166befffd0cfe08e9dcb5c9498eb6acdcfcf35d94148832ec23f33e258279a8e3a152e0a7c265be8ef3e3f349259ef2e7e2640381280 WHIRLPOOL 63c83d9118125bba31bed3b5480ee9903e40468ef4a5ed7474a4dad4c456467712e8568a9be9840e8f86f2bdbb8fe09850373a74eed4de5f605e275b341dc1f7
+AUX looptools-2.8-makefile.patch 2375 SHA256 4233d14f16609972b75df4aafdd0974254a4db6e82236435aaa27a0f4990ed28 SHA512 e0f0f4fce94468f9b07deececb89c6e64250692b343ee1a8f29d85da724cf2cc443e6363414e5eb0af88f0135b9a7e2311e14d7d1001c9bd57e127c7ba808ae0 WHIRLPOOL e526400922e9ed770a08f840c5babf3be32327c0719360f0305912fdb96cf4dcb887391f906cdb5f82ab7c6f9853c2220c6aa982794f8123cef6df3e7a55ac20
+DIST LoopTools-2.12.tar.gz 545153 SHA256 df04d944de15ec73665edaf76f655d1db797cbc02b54baa7664ac761ecfa2f70 SHA512 70726493bd138fb80b85a46955fbe28b7f1432d9b67a100fe3ff74c2fa22232a07e461a6742745b0ead81793bb64b81cc4265d09b91fa048e7bdd32cf6956b27 WHIRLPOOL af3abaf31a4a868e0f65bdb0b21405c413c470063e4c8130e31b2a9e05a4f0e65e9999323e3cdf0b4277e48e84d767288852e984d486468abab3aaa664f66879
+DIST LoopTools-2.13.tar.gz 549005 SHA256 b609720e8ab68d4f4e0c01c19abffff5915fe593362ddbcdd68260c780ef475e SHA512 eadde36d8bf340061f5b50c9928bce055ef098d0cee11abe9a834c158a7758b09f4290dddbba922a41b0281fbdaecc80ba877cb6968b0448f3487324e220ec62 WHIRLPOOL 360aedd396f7a888253ca6375b34bac26faf711998a8e881e9cab9b617a3126ee1a7ce6ee2168d947cf69bd2850a387276f503a7ae0271217e66d71c3f2e5d42
+DIST LoopTools-2.8.tar.gz 546810 SHA256 2395518d0eac9b0883a2c249b9a5ba80df443929c520c45e60f5a4284166eb42 SHA512 32211669fd092d2d5bb38e26a6471a95df0647d9e7ea0cc4e99ff4fd7c3e3fee107f6432ed9075e3102224f0041fac6f7075b1f0a91f7744ec3890b4b36d276e WHIRLPOOL c8dff8030d7ea1bfc6b65bef3370c5acfec69fa73f223a63b7424163b81a3bdf788eb3ffecd07e9bf61a31a63138b1fd126b6442a298c8fad1f4b04b69663a47
+EBUILD looptools-2.12.ebuild 885 SHA256 b831702e1c28ea297540f3ac5513502394b64cc6cd3a548db4238b47a32431c8 SHA512 9839812ae955f6d7c4709e43c03f689f222d6caec4a65ad4ad13fde85c8bba9a6915f026ff6dd5136499839e0505db754f006f9e0275390f62e4fd7c91c2bae4 WHIRLPOOL 99dac16b3025d6ed3ae0a4d98b9d42a48e4aa6d8bd896b2fdf7f8d872ce1d9d0aafada69c6eeab7a06d28418c9dd87b3946cdcc7c457c3c25078565e03beafb5
+EBUILD looptools-2.13.ebuild 892 SHA256 ef9969f6f44581e7f853db01b0bc2c3fbe35a353639771ab3490dfccf02c75fa SHA512 63425495632f67b951c945756a3d443f47ba12ae1e01592106e5baa49a32cf2c1ac5326ad18ece334e653c79a0d45190e7b513e039e6b4fb4ab042befb658267 WHIRLPOOL f3e8007a299c5133b866d86f29af75b77f1efcd64fbe2c0ed083d595865cefae1c7d01a90d21186db0f0f27accfdd77f9950512ac08e5b1d235f4a77a3d5ee5f
+EBUILD looptools-2.8.ebuild 879 SHA256 61869bec98084afb4d318e50c7d8f42b983b461c287999fb1d22ba74055eabb5 SHA512 b4a21692121bdf97aa35d27245e19cdbaec755e392d27c8fbce122bc3c3e5733345d451afb1250461608a9cf4a00f5675ce72c558bf5bf4fe7c74ef36d663d7e WHIRLPOOL 048fb8eb5206e94b5cd4559d338944f01abfe15842d39f9405fc74b2e125754a0eff370fd9570e4b7c3baf9d85fa0a36a5c980bb16d724677fd6f5765fa3474c
+MISC ChangeLog 2058 SHA256 90eb36cf9a0cff2c84c6e6cd471650d1bd653973e9c62cb5335bb074d3e74721 SHA512 fcf89f9890e3f9f7dd7a38885d291e57749e2fff4d2a4ad864451cac98adf43a212ff66ea23f30e03c0d3d0e30919353d1981850067c9b3138116d4b45578b69 WHIRLPOOL 090f4fcd53b9ff94a1cc350ffbab441f5e2e2384786768381a18843d0d5f0d616d90de41919fa772df6ad3acc67c7354d4dd4295ece06bcbf2ba2b80c1bfd7ed
+MISC metadata.xml 610 SHA256 c22c1f623736d9ce3ddf8a7b76f1147bf79c5610d8f8bcf50fa2bdf3a952bf9c SHA512 2bd676b8205e286fcc590184ac94b4d460eb5aafc754410b26afcea4bd4825af6ba795e2974b2fb8fec5a921b5379418541fba045e987253e679f74e4b86b990 WHIRLPOOL 522949586933e54ef90375536d46e3f51738a92f1f9b59a0f6a86733b5cd4ff01504a36b4dd3ce7ad02b092ff20883972d7171e55eccd4cf2867eae13e7f6985
diff --git a/sci-physics/looptools/files/looptools-2.10-makefile.patch b/sci-physics/looptools/files/looptools-2.10-makefile.patch
new file mode 100644
index 000000000000..bf0df2e03bb5
--- /dev/null
+++ b/sci-physics/looptools/files/looptools-2.10-makefile.patch
@@ -0,0 +1,98 @@
+--- a/makefile.in
++++ b/makefile.in
+@@ -1,14 +1,17 @@
+ BLD = build$(QUADSUFFIX)
+
+-LIBDIR = $(PREFIX)/lib$(LIBDIRSUFFIX)
+-INCLUDEDIR = $(PREFIX)/include
+-BINDIR = $(PREFIX)/bin
++LIBDIR = $(DESTDIR)/$(PREFIX)/lib$(LIBDIRSUFFIX)
++INCLUDEDIR = $(DESTDIR)/$(PREFIX)/include
++BINDIR = $(DESTDIR)/$(PREFIX)/bin
+
+ LIB = libooptools$(QUADSUFFIX).a
+ FE = lt$(QUADSUFFIX)$(EXE)
+ MFE = LoopTools$(QUADSUFFIX)$(EXE)
+ INCLUDE = $(BLD)/looptools.h $(BLD)/clooptools.h
+
++LIBRARY=libooptools.so
++REALNAME=$(LIBRARY).$(VER)
++
+ ARGS = $(PARALLEL) \
+ LIB="$(LIB)" \
+ FE="$(FE)" \
+@@ -16,12 +19,12 @@
+ EXE="$(EXE)" \
+ DEF="$(DEF)" \
+ NOUNDERSCORE="$(NOUNDERSCORE)" \
+- XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I." \
++ XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I. -fPIC" \
+ F90="$(F90)" \
+ CC="$(CC)" \
+- CFLAGS="$(CFLAGS) $(CFLAGS-quad)" \
++ CFLAGS="$(CFLAGS) $(CFLAGS-quad) -fPIC" \
+ CXX="$(CXX)" \
+- CXXFLAGS="$(CXXFLAGS)" \
++ CXXFLAGS="$(CXXFLAGS) -fPIC" \
+ ML="$(ML)" \
+ MCC="$(MCC)" \
+ MCFLAGS="$(MCFLAGS)" \
+@@ -32,22 +35,24 @@
+ DLLTOOL="$(DLLTOOL)" \
+ LDFLAGS="$(LDFLAGS)" \
+ LIBPATH="$(LIBPATH)" \
+- OBJS-quad="$(OBJS-quad)"
++ OBJS-quad="$(OBJS-quad)" \
++ REALNAME="$(REALNAME)"
+
+
+-default all lib frontend mma: force
++default all lib solib frontend mma: force
+ cd $(BLD) && $(MAKE) $(ARGS) $@
+
+-install: lib frontend
+- -mkdir $(PREFIX)
++install: lib solib frontend
++ -mkdir $(DESTDIR)$(PREFIX)
+ -mkdir $(LIBDIR) $(BINDIR) $(INCLUDEDIR)
+ cp -p $(BLD)/$(LIB) $(LIBDIR)
+ cp -p $(INCLUDE$(QUADSUFFIX)) $(INCLUDEDIR)
+- strip $(BLD)/$(FE)
+ cp -p $(BLD)/fcc $(BLD)/$(FE) $(BINDIR)
+ rm -f $(BINDIR)/f++
+ ln -s fcc $(BINDIR)/f++
+- test ! -f $(BLD)/$(MFE) || { strip $(BLD)/$(MFE) ; cp -p $(BLD)/$(MFE) $(BINDIR); }
++ test ! -f $(BLD)/$(MFE) || { cp -p $(BLD)/$(MFE) $(BINDIR); }
++ cp -p $(BLD)/$(REALNAME) $(LIBDIR)
++ cd $(LIBDIR) && ln -s $(REALNAME) $(LIBRARY)
+
+ force: $(BLD)/timestamp
+
+--- a/src/makefile
++++ b/src/makefile
+@@ -1,6 +1,6 @@
+-default: frontend mma$(ML)
++default: frontend mma$(ML) solib
+
+-all: frontend mma1
++all: frontend mma1 solib
+
+ frontend: lib $(FE)
+
+@@ -8,6 +8,7 @@
+
+ mma0 lib: $(LIB) clooptools.h fcc
+
++solib: $(REALNAME) fcc
+
+ .SUFFIXES:
+
+@@ -243,6 +244,8 @@
+ $(AR) cru $(LIB) $?
+ -$(RANLIB) $(LIB)
+
++$(REALNAME): $(OBJS)
++ $(XFC) $(LDFLAGS) -shared -Wl,--soname,$(REALNAME) -o $@ $?
+
+ $(FE): lt.F $(LTINC) $(LIB)
+ $(XFC) -o $(FE) lt.F $(LIB) -lpthread
diff --git a/sci-physics/looptools/files/looptools-2.8-makefile.patch b/sci-physics/looptools/files/looptools-2.8-makefile.patch
new file mode 100644
index 000000000000..5252c1de60c0
--- /dev/null
+++ b/sci-physics/looptools/files/looptools-2.8-makefile.patch
@@ -0,0 +1,96 @@
+--- makefile.in
++++ makefile.in
+@@ -1,14 +1,17 @@
+ BLD = build$(QUADSUFFIX)
+
+-LIBDIR = $(PREFIX)/lib$(LIBDIRSUFFIX)
+-INCLUDEDIR = $(PREFIX)/include
+-BINDIR = $(PREFIX)/bin
++LIBDIR = $(DESTDIR)/$(PREFIX)/lib$(LIBDIRSUFFIX)
++INCLUDEDIR = $(DESTDIR)/$(PREFIX)/include
++BINDIR = $(DESTDIR)/$(PREFIX)/bin
+
+ LIB = libooptools$(QUADSUFFIX).a
+ FE = lt$(QUADSUFFIX)$(EXE)
+ MFE = LoopTools$(QUADSUFFIX)$(EXE)
+ INCLUDE = $(BLD)/looptools.h $(BLD)/clooptools.h
+
++LIBRARY=libooptools.so
++REALNAME=$(LIBRARY).$(VER)
++
+ ARGS = $(PARALLEL) \
+ LIB="$(LIB)" \
+ FE="$(FE)" \
+@@ -16,12 +19,12 @@
+ EXE="$(EXE)" \
+ DEF="$(DEF)" \
+ NOUNDERSCORE="$(NOUNDERSCORE)" \
+- XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I." \
++ XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I. -fPIC" \
+ F90="$(F90)" \
+ CC="$(CC)" \
+- CFLAGS="$(CFLAGS) $(CFLAGS-quad)" \
++ CFLAGS="$(CFLAGS) $(CFLAGS-quad) -fPIC" \
+ CXX="$(CXX)" \
+- CXXFLAGS="$(CXXFLAGS)" \
++ CXXFLAGS="$(CXXFLAGS) -fPIC" \
+ ML="$(ML)" \
+ MCC="$(MCC)" \
+ MCFLAGS="$(MCFLAGS)" \
+@@ -31,20 +34,22 @@
+ DLLTOOL="$(DLLTOOL)" \
+ LDFLAGS="$(LDFLAGS)" \
+ LIBPATH="$(LIBPATH)" \
+- OBJS-quad="$(OBJS-quad)"
++ OBJS-quad="$(OBJS-quad)" \
++ REALNAME="$(REALNAME)"
+
+
+-default all lib frontend mma: force
++default all lib solib frontend mma: force
+ cd $(BLD) && $(MAKE) $(ARGS) $@
+
+-install: lib frontend
+- -mkdir $(PREFIX)
++install: lib solib frontend
++ -mkdir $(DESTDIR)$(PREFIX)
+ -mkdir $(LIBDIR) $(BINDIR) $(INCLUDEDIR)
+ cp -p $(BLD)/$(LIB) $(LIBDIR)
+ cp -p $(INCLUDE$(QUADSUFFIX)) $(INCLUDEDIR)
+- strip $(BLD)/$(FE)
+ cp -p $(BLD)/fcc $(BLD)/$(FE) $(BINDIR)
+- test ! -f $(BLD)/$(MFE) || { strip $(BLD)/$(MFE) ; cp -p $(BLD)/$(MFE) $(BINDIR); }
++ test ! -f $(BLD)/$(MFE) || { cp -p $(BLD)/$(MFE) $(BINDIR); }
++ cp -p $(BLD)/$(REALNAME) $(LIBDIR)
++ cd $(LIBDIR) && ln -s $(REALNAME) $(LIBRARY)
+
+ force: $(BLD)/timestamp
+
+--- src/makefile
++++ src/makefile
+@@ -1,6 +1,6 @@
+-default: frontend mma$(ML)
++default: frontend mma$(ML) solib
+
+-all: frontend mma1
++all: frontend mma1 solib
+
+ frontend: lib $(FE)
+
+@@ -8,6 +8,7 @@
+
+ mma0 lib: $(LIB) clooptools.h fcc
+
++solib: $(REALNAME) fcc
+
+ .SUFFIXES:
+
+@@ -247,6 +248,8 @@
+ $(AR) cru $(LIB) $?
+ -$(RANLIB) $(LIB)
+
++$(REALNAME): $(OBJS)
++ $(XFC) $(LDFLAGS) -shared -Wl,--soname,$(REALNAME) -o $@ $?
+
+ $(FE): lt.F $(LTINC) $(LIB)
+ $(XFC) -o $(FE) lt.F $(LIB)
diff --git a/sci-physics/looptools/looptools-2.12.ebuild b/sci-physics/looptools/looptools-2.12.ebuild
new file mode 100644
index 000000000000..3727a66da958
--- /dev/null
+++ b/sci-physics/looptools/looptools-2.12.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils fortran-2 multilib
+
+MYP=LoopTools-${PV}
+
+DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals"
+HOMEPAGE="http://www.feynarts.de/looptools"
+SRC_URI="http://www.feynarts.de/looptools/${MYP}.tar.gz"
+
+LICENSE="LGPL-3"
+
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.10-makefile.patch
+ export VER="${PV}"
+ # necessary fix for prefix
+ sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die
+}
+
+src_install() {
+ default
+ # another one of these package building archive with pic
+ # no: ooptools is not a typo
+ if use static-libs; then
+ rm "${ED}"/usr/$(get_libdir)/libooptools.a || die
+ fi
+ use doc && dodoc manual/*.pdf
+}
diff --git a/sci-physics/looptools/looptools-2.13.ebuild b/sci-physics/looptools/looptools-2.13.ebuild
new file mode 100644
index 000000000000..752cba285c8f
--- /dev/null
+++ b/sci-physics/looptools/looptools-2.13.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit fortran-2
+
+MY_P=LoopTools-${PV}
+
+DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals"
+HOMEPAGE="http://www.feynarts.de/looptools"
+SRC_URI="http://www.feynarts.de/looptools/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.10-makefile.patch )
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+
+ export VER="${PV}"
+ # necessary fix for prefix
+ sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die
+}
+
+src_install() {
+ default
+
+ # another one of these package building archive with pic
+ # no: ooptools is not a typo
+ if ! use static-libs; then
+ rm "${ED%/}"/usr/$(get_libdir)/libooptools.a || die
+ fi
+ use doc && dodoc manual/*.pdf
+}
diff --git a/sci-physics/looptools/looptools-2.8.ebuild b/sci-physics/looptools/looptools-2.8.ebuild
new file mode 100644
index 000000000000..db459a6afcfa
--- /dev/null
+++ b/sci-physics/looptools/looptools-2.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils fortran-2 multilib
+
+MYP=LoopTools-${PV}
+
+DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals"
+HOMEPAGE="http://www.feynarts.de/looptools"
+SRC_URI="http://www.feynarts.de/looptools/${MYP}.tar.gz"
+
+LICENSE="LGPL-3"
+
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ export VER="${PV}"
+ # necessary fix for prefix
+ sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die
+}
+
+src_install() {
+ default
+ # another one of these package building archive with pic
+ # no: ooptools is not a typo
+ if use static-libs; then
+ rm "${ED}"/usr/$(get_libdir)/libooptools.a || die
+ fi
+ use doc && dodoc manual/*.pdf
+}
diff --git a/sci-physics/looptools/metadata.xml b/sci-physics/looptools/metadata.xml
new file mode 100644
index 000000000000..0750d041308a
--- /dev/null
+++ b/sci-physics/looptools/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription>
+ A package for evaluation of scalar and tensor one-loop integrals
+ based on the FF package by G.J. van Oldenborgh.
+ It features an easy Fortran, C++, and Mathematica interface
+ to the scalar one-loop functions of FF and in addition provides
+ the 2-, 3-, and 4-point tensor coefficient functions.
+</longdescription>
+</pkgmetadata>