1 |
commit: 6ee4d8e07bde5a98db3f15c5a891fe10675519f8 |
2 |
Author: Jauhien Piatlicki (jauhien) <piatlicki <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jul 5 17:31:32 2012 +0000 |
4 |
Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 5 17:31:32 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6ee4d8e0 |
7 |
|
8 |
New ebuild sci-physics/LoopTools-2.7 for bug#424860 |
9 |
|
10 |
(Portage version: 2.2.0_alpha113/git/Linux i686, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
sci-physics/LoopTools/ChangeLog | 10 +++++++ |
14 |
sci-physics/LoopTools/LoopTools-2.7.ebuild | 24 ++++++++++++++++ |
15 |
.../LoopTools/files/LoopTools-2.7-makefile.patch | 29 ++++++++++++++++++++ |
16 |
sci-physics/LoopTools/metadata.xml | 15 ++++++++++ |
17 |
4 files changed, 78 insertions(+), 0 deletions(-) |
18 |
|
19 |
diff --git a/sci-physics/LoopTools/ChangeLog b/sci-physics/LoopTools/ChangeLog |
20 |
new file mode 100644 |
21 |
index 0000000..87f268c |
22 |
--- /dev/null |
23 |
+++ b/sci-physics/LoopTools/ChangeLog |
24 |
@@ -0,0 +1,10 @@ |
25 |
+# ChangeLog for sci-physics/LoopTools |
26 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
27 |
+# $Header: $ |
28 |
+ |
29 |
+*LoopTools-2.7 (05 Jul 2012) |
30 |
+ |
31 |
+ 05 Jul 2012; Jauhien Piatlicki (jauhien) piatlicki@×××××.com |
32 |
+ +LoopTools-2.7.ebuild, +files/LoopTools-2.7-makefile.patch, +metadata.xml: |
33 |
+ Initial release, new ebuild for bug#424860 |
34 |
+ |
35 |
|
36 |
diff --git a/sci-physics/LoopTools/LoopTools-2.7.ebuild b/sci-physics/LoopTools/LoopTools-2.7.ebuild |
37 |
new file mode 100644 |
38 |
index 0000000..61672a5 |
39 |
--- /dev/null |
40 |
+++ b/sci-physics/LoopTools/LoopTools-2.7.ebuild |
41 |
@@ -0,0 +1,24 @@ |
42 |
+# Copyright 1999-2012 Gentoo Foundation |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+# $Header: $ |
45 |
+ |
46 |
+EAPI=4 |
47 |
+ |
48 |
+inherit eutils |
49 |
+ |
50 |
+DESCRIPTION="A package for evaluation of scalar and tensor one-loop integrals" |
51 |
+HOMEPAGE="http://www.feynarts.de/looptools" |
52 |
+SRC_URI="http://www.feynarts.de/looptools/${P}.tar.gz" |
53 |
+ |
54 |
+LICENSE="LGPL-3" |
55 |
+ |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~x86" |
58 |
+IUSE="" |
59 |
+ |
60 |
+DEPEND="" |
61 |
+RDEPEND="" |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ epatch "${FILESDIR}/${P}-makefile.patch" |
65 |
+} |
66 |
|
67 |
diff --git a/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch b/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch |
68 |
new file mode 100644 |
69 |
index 0000000..4dfc847 |
70 |
--- /dev/null |
71 |
+++ b/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch |
72 |
@@ -0,0 +1,29 @@ |
73 |
+--- makefile.in |
74 |
++++ makefile.in |
75 |
+@@ -1,8 +1,8 @@ |
76 |
+ BLD = build$(QUADSUFFIX) |
77 |
+ |
78 |
+-LIBDIR = $(PREFIX)/lib$(LIBDIRSUFFIX) |
79 |
+-INCLUDEDIR = $(PREFIX)/include |
80 |
+-BINDIR = $(PREFIX)/bin |
81 |
++LIBDIR = $(DESTDIR)/$(PREFIX)/lib$(LIBDIRSUFFIX) |
82 |
++INCLUDEDIR = $(DESTDIR)/$(PREFIX)/include |
83 |
++BINDIR = $(DESTDIR)/$(PREFIX)/bin |
84 |
+ |
85 |
+ LIB = libooptools$(QUADSUFFIX).a |
86 |
+ FE = lt$(QUADSUFFIX)$(EXE) |
87 |
+@@ -38,13 +38,12 @@ |
88 |
+ cd $(BLD) && $(MAKE) $(ARGS) $@ |
89 |
+ |
90 |
+ install: lib frontend |
91 |
+- -mkdir $(PREFIX) |
92 |
++ -mkdir $(DESTDIR)$(PREFIX) |
93 |
+ -mkdir $(LIBDIR) $(BINDIR) $(INCLUDEDIR) |
94 |
+ cp -p $(BLD)/$(LIB) $(LIBDIR) |
95 |
+ cp -p $(INCLUDE$(QUADSUFFIX)) $(INCLUDEDIR) |
96 |
+- strip $(BLD)/$(FE) |
97 |
+ cp -p $(BLD)/fcc $(BLD)/$(FE) $(BINDIR) |
98 |
+- test ! -f $(BLD)/$(MFE) || { strip $(BLD)/$(MFE) ; cp -p $(BLD)/$(MFE) $(BINDIR); } |
99 |
++ test ! -f $(BLD)/$(MFE) || { cp -p $(BLD)/$(MFE) $(BINDIR); } |
100 |
+ |
101 |
+ force: $(BLD)/timestamp |
102 |
|
103 |
diff --git a/sci-physics/LoopTools/metadata.xml b/sci-physics/LoopTools/metadata.xml |
104 |
new file mode 100644 |
105 |
index 0000000..8752705 |
106 |
--- /dev/null |
107 |
+++ b/sci-physics/LoopTools/metadata.xml |
108 |
@@ -0,0 +1,15 @@ |
109 |
+<?xml version="1.0" encoding="UTF-8"?> |
110 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
111 |
+<pkgmetadata> |
112 |
+<herd>sci</herd> |
113 |
+<maintainer> |
114 |
+ <email>maintainer-wanted@g.o</email> |
115 |
+</maintainer> |
116 |
+<longdescription> |
117 |
+ A package for evaluation of scalar and tensor one-loop integrals |
118 |
+ based on the FF package by G.J. van Oldenborgh. |
119 |
+ It features an easy Fortran, C++, and Mathematica interface |
120 |
+ to the scalar one-loop functions of FF and in addition provides |
121 |
+ the 2-, 3-, and 4-point tensor coefficient functions. |
122 |
+</longdescription> |
123 |
+</pkgmetadata> |