diff options
-rw-r--r-- | sci-physics/looptools/ChangeLog | 9 | ||||
-rw-r--r-- | sci-physics/looptools/Manifest | 3 | ||||
-rw-r--r-- | sci-physics/looptools/files/looptools-2.10-makefile.patch | 98 | ||||
-rw-r--r-- | sci-physics/looptools/looptools-2.10.ebuild | 39 | ||||
-rw-r--r-- | sci-physics/looptools/looptools-2.11.ebuild | 39 | ||||
-rw-r--r-- | sci-physics/looptools/looptools-2.9.ebuild | 39 |
6 files changed, 227 insertions, 0 deletions
diff --git a/sci-physics/looptools/ChangeLog b/sci-physics/looptools/ChangeLog index 06316fe38..6e5903308 100644 --- a/sci-physics/looptools/ChangeLog +++ b/sci-physics/looptools/ChangeLog @@ -2,6 +2,15 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*looptools-2.11 (31 Aug 2014) +*looptools-2.10 (31 Aug 2014) +*looptools-2.9 (31 Aug 2014) + + 31 Aug 2014; Jauhien Piatlicki <jauhien@gentoo.org> +looptools-2.9.ebuild, + +looptools-2.10.ebuild, +looptools-2.11.ebuild, + +files/looptools-2.10-makefile.patch: + version bump + 07 May 2014; SĂ©bastien Fabbro <bicatali@gentoo.org> files/looptools-2.8-makefile.patch, looptools-2.8.ebuild, metadata.xml: sci-physics/looptools: Renamed, add soname, doc and static-libs use flags diff --git a/sci-physics/looptools/Manifest b/sci-physics/looptools/Manifest index 1977cca12..3c4607565 100644 --- a/sci-physics/looptools/Manifest +++ b/sci-physics/looptools/Manifest @@ -1 +1,4 @@ +DIST LoopTools-2.10.tar.gz 550654 SHA256 141ab2153006ca3f1cc01e66e1552c02bf8164b9216304ff1829370b7b5c77bb SHA512 1fc9ef5a9ced8ea08ddc5f494338fb27b55bacdd23a968ca4379e5ca63f8d74ea947fb0bb98a80dfd6dddc0db1e80d2d454433abdcfeac323b51c27432046954 WHIRLPOOL b118d3f5f13b6e23920f7680b4b1a0b1d2c4079ac78c0763e73d30e9750d14ae57cd00f889e5b7392bc2ef53f88122be4d7f52de96f999676aa4e1e603353eae +DIST LoopTools-2.11.tar.gz 546351 SHA256 efe14e774fcd66bdd46bbeb8065138793e3c1f5c73594c84c116edbab74c842d SHA512 fbe6c43b857561d0e7f35acdea32c34f2430c2faf23172790ad4426c469e39cd0df413d2c3cdc080ce9c4dcfb95773b7dc70b13738341c9d0438f4445cdbf6ab WHIRLPOOL 74b30ebe59998f2217b7e5cfb6e90671193159e5e3adfb2c26fee9c6f7b4021932ea8158e191f2e538e2e6d037fc86382659a697f638dc22ea3d068dfb92340c DIST LoopTools-2.8.tar.gz 546810 SHA256 2395518d0eac9b0883a2c249b9a5ba80df443929c520c45e60f5a4284166eb42 SHA512 32211669fd092d2d5bb38e26a6471a95df0647d9e7ea0cc4e99ff4fd7c3e3fee107f6432ed9075e3102224f0041fac6f7075b1f0a91f7744ec3890b4b36d276e WHIRLPOOL c8dff8030d7ea1bfc6b65bef3370c5acfec69fa73f223a63b7424163b81a3bdf788eb3ffecd07e9bf61a31a63138b1fd126b6442a298c8fad1f4b04b69663a47 +DIST LoopTools-2.9.tar.gz 548404 SHA256 e3cdc10fdbc9fe68e56402d34c6d3abd1ec6d727db8914b0cec0119273f7aa4d SHA512 3a46c94a5ff72079c930d7ec2076b0f5278e897130383fdd656173218840f04e03ebb9fdef362af36a207a71a87c038fec6e008a231ef259120073760aa05534 WHIRLPOOL 50591b6aa4e7e624282ad2102c78060cd421c6f5b7abd293bb18b2ca6844857bdcdbafab8e33c86ff4bd464f1245ba0cd13978800ac4786411a658ffd947cc38 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 000000000..8758244ac --- /dev/null +++ b/sci-physics/looptools/files/looptools-2.10-makefile.patch @@ -0,0 +1,98 @@ +--- 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)" \ +@@ -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 + +--- 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: + +@@ -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/looptools-2.10.ebuild b/sci-physics/looptools/looptools-2.10.ebuild new file mode 100644 index 000000000..f365243c4 --- /dev/null +++ b/sci-physics/looptools/looptools-2.10.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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" + +DEPEND="virtual/fortran" +RDEPEND="${DEPEND}" + +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 + use static-libs || rm "${ED}"/usr/$(get_libdir)/libooptools.a + use doc && dodoc manual/*.pdf +} diff --git a/sci-physics/looptools/looptools-2.11.ebuild b/sci-physics/looptools/looptools-2.11.ebuild new file mode 100644 index 000000000..9d0ac5b53 --- /dev/null +++ b/sci-physics/looptools/looptools-2.11.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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" + +DEPEND="virtual/fortran" +RDEPEND="${DEPEND}" + +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 + use static-libs || rm "${ED}"/usr/$(get_libdir)/libooptools.a + use doc && dodoc manual/*.pdf +} diff --git a/sci-physics/looptools/looptools-2.9.ebuild b/sci-physics/looptools/looptools-2.9.ebuild new file mode 100644 index 000000000..e842a0717 --- /dev/null +++ b/sci-physics/looptools/looptools-2.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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" + +DEPEND="virtual/fortran" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MYP}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.8-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 + use static-libs || rm "${ED}"/usr/$(get_libdir)/libooptools.a + use doc && dodoc manual/*.pdf +} |