summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-01-23 14:11:22 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-01-23 14:11:22 +0000
commitc2a1c38e140670f80c7f3db236af4e9214b3fde1 (patch)
treefbb53f511946c0e65e74c11f0472c87b05890da6 /sci-libs
parentDrop stardict dependency as it's provided by stardict.eclass. (diff)
downloadhistorical-c2a1c38e140670f80c7f3db236af4e9214b3fde1.tar.gz
historical-c2a1c38e140670f80c7f3db236af4e9214b3fde1.tar.bz2
historical-c2a1c38e140670f80c7f3db236af4e9214b3fde1.zip
Version bump
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/minuit/ChangeLog10
-rw-r--r--sci-libs/minuit/Manifest11
-rw-r--r--sci-libs/minuit/files/minuit-5.22.00-as-needed.patch11
-rw-r--r--sci-libs/minuit/minuit-5.22.00.ebuild70
4 files changed, 96 insertions, 6 deletions
diff --git a/sci-libs/minuit/ChangeLog b/sci-libs/minuit/ChangeLog
index dbca73022fc8..e6ff9a72fc68 100644
--- a/sci-libs/minuit/ChangeLog
+++ b/sci-libs/minuit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/minuit
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/ChangeLog,v 1.7 2008/07/03 10:16:31 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/ChangeLog,v 1.8 2009/01/23 14:11:22 bicatali Exp $
+
+*minuit-5.22.00 (23 Jan 2009)
+
+ 23 Jan 2009; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/minuit-5.22.00-as-needed.patch, +minuit-5.22.00.ebuild:
+ Version bump
*minuit-5.20.00 (03 Jul 2008)
diff --git a/sci-libs/minuit/Manifest b/sci-libs/minuit/Manifest
index c62aed04cc6f..8b76b22ec9fa 100644
--- a/sci-libs/minuit/Manifest
+++ b/sci-libs/minuit/Manifest
@@ -3,18 +3,21 @@ Hash: SHA1
AUX minuit-5.16.00-gcc4.3.patch 645 RMD160 addf25a93afc20ce6fb8fb1088368d54896ad9cc SHA1 a86b204d06b9b0670fcc930254de58b712e4f601 SHA256 42622b30b2672ede43e35da34868bbbaa4d76efd5b8945a50aac23be1db8b78d
AUX minuit-5.20.00-gcc43.patch 300 RMD160 ba70cb78598c25d82f50d10f6ee98e4c6bf0a061 SHA1 bfcc700689cdf52e007b4c1f2e13e94716f87120 SHA256 d01090bfad1ffc9e10a935e34c5407b61e6116079efc53945a7e19c2f305c398
+AUX minuit-5.22.00-as-needed.patch 291 RMD160 98c289579c703b5708210192857bcfdf718d90bb SHA1 a2eee7b8514d51b2236db8e499f01b9286a8fa83 SHA256 3749f883f7c83d0bf41b512e59e4ba4d7eb4aab496d01b00864d16d84bcb921a
DIST Minuit2-5.16.00.tar.gz 438532 RMD160 72fc99cb798196a53b99e1bf52e2c8c7046dc582 SHA1 c1bc3dec0f3a3d2dd400188baca074ffb3cb9566 SHA256 db840e4983de0cea9fa1e861cd3c373c5effd969ad88849b1dd0894f80a02717
DIST Minuit2-5.20.00.tar.gz 463986 RMD160 14d1fe255fee7901060d499f00732af61081c396 SHA1 9e338aaa45f9bef98b5b63444662a66768cf802f SHA256 c5afbfcf25cb4fb95f773f6611a46ec4f293ad2f3c3a3cd75f79ea5e226f62e4
+DIST Minuit2-5.22.00.tar.gz 471267 RMD160 7e491d908808b7f23a46f4f57276910d24a69e01 SHA1 ac37758f0f2a953a94650b03361e5d7070b2d438 SHA256 f1dd3356b1cbde3299e3b00a4de47bc6ebc94b3cdef94cf5000a7639e114b8df
DIST mntutorial.pdf 263735 RMD160 4ef7806018a0ac43e322325ab9ea716268ac65cd SHA1 c32bdc4fb130ea8baa32e5dd79a7bc701b313110 SHA256 a72207746c548f4b468b147c27552b4a1bc9762df2a19f9cb0f9ec297899ef07
DIST mnusersguide.pdf 260072 RMD160 d3809c8c7f0b105fef61f23c63708ff926853c37 SHA1 ac8b0b8464c8cfd2d02bbdb14e97be6271272259 SHA256 cffef5faa1c4d6ac589d4bd40ea474302f55fab47ab2e711b37f1183870fb206
EBUILD minuit-5.16.00.ebuild 1461 RMD160 c92622e69ca32f79100f7edc238672b72f87dab6 SHA1 5bb95c5f86184da153c130b46953e6330ebd8812 SHA256 b64be1c659334081ab118c53af6afa801292c96f1001be8b6cfe149006742f78
EBUILD minuit-5.20.00.ebuild 1465 RMD160 c5aed0fe04c774ec4daa8c23d45428578f4ff6f4 SHA1 63b33d4d07207a289c33edd52f04e0d0727e2e9a SHA256 7c390e9a02d74f5d2af0dbe41874cb3f78a715abdb4af1f61f98c79ad016115f
-MISC ChangeLog 1234 RMD160 826b0b07802c49c12110512d6fa8ec5a5a3fd238 SHA1 c30c20e8a498cf2a60616cd855ff1f9487a150c4 SHA256 a37d58a879e482d1315df6c46584a7c5632bf24d7f7beadeaf94b4f7c73bd47f
+EBUILD minuit-5.22.00.ebuild 1785 RMD160 6776976301ce0d35cba5a399f99d150bc627bf8e SHA1 5f8870823ab37887acb226faef44aab7676a8027 SHA256 36b960788b1a5da306fe8c79d1d557c00f420da1a59490f26b140796855d464c
+MISC ChangeLog 1401 RMD160 5d7aa717e70f58430b81520faa9a8c30e53ca782 SHA1 b5a5a6f5b799c4a4ac89bff1f779baeee681d1ee SHA256 5bdf2b86f961a94f0143428d7c2717018ea350d0b01593540c2ef909b9b73172
MISC metadata.xml 525 RMD160 73232a63d390b0f64f8679059782d1c96358b425 SHA1 0ab5b599239adfb9896c7b71663a42564adb06f4 SHA256 9d2450a7a5feb0c357ed37375083fd55b34fd7caedee2a7b058e5eaea4616866
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkhspxwACgkQ1ycZbhPLE2DWBACgo8gzihdKLZ6oxHPg6B9kCu1S
-l0IAnR7SQKPWuErxBIHna2+m/3dDJsKL
-=+D5k
+iEYEARECAAYFAkl50BMACgkQ1ycZbhPLE2A/VACfdbuyEpH6u3A8z+y/vKRSuoaL
+YuEAoKvfQuk4ke+eGpArCbJR1Lr2jvO4
+=b+c3
-----END PGP SIGNATURE-----
diff --git a/sci-libs/minuit/files/minuit-5.22.00-as-needed.patch b/sci-libs/minuit/files/minuit-5.22.00-as-needed.patch
new file mode 100644
index 000000000000..850098839c20
--- /dev/null
+++ b/sci-libs/minuit/files/minuit-5.22.00-as-needed.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.am.orig 2009-01-22 00:44:01.925673316 +0000
++++ src/Makefile.am 2009-01-22 00:43:34.963076306 +0000
+@@ -79,6 +79,8 @@
+ mnvert.cxx \
+ mnxerbla.cxx
+
++libMinuit2_la_LDFLAGS = $(OPENMP_CXXFLAGS)
++
+ INCLUDES = \
+ -I$(top_srcdir)/inc
+
diff --git a/sci-libs/minuit/minuit-5.22.00.ebuild b/sci-libs/minuit/minuit-5.22.00.ebuild
new file mode 100644
index 000000000000..6482124a2c96
--- /dev/null
+++ b/sci-libs/minuit/minuit-5.22.00.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/minuit-5.22.00.ebuild,v 1.1 2009/01/23 14:11:22 bicatali Exp $
+
+EAPI=2
+inherit eutils toolchain-funcs flag-o-matic autotools
+
+MY_PN=Minuit2
+
+DESCRIPTION="A C++ physics analysis tool for function minimization"
+HOMEPAGE="http://seal.web.cern.ch/seal/MathLibs/Minuit2/html/index.html"
+
+SRC_URI="http://seal.web.cern.ch/seal/MathLibs/${MY_PN}/${MY_PN}-${PV}.tar.gz
+ doc? ( http://seal.cern.ch/documents/minuit/mnusersguide.pdf
+ http://seal.cern.ch/documents/minuit/mntutorial.pdf )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc openmp"
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+pkg_setup() {
+ if use openmp && [[ $(tc-getCXX)$ == *g++* ]]; then
+ if built_with_use sys-devel/gcc openmp; then
+ append-ldflags -lgomp
+ else
+ ewarn "You are using gcc built without openmp"
+ ewarn "Switch CXX to an OpenMP capable compiler"
+ die "Need openmp"
+ fi
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ AT_M4DIR="config/m4" eautoreconf
+}
+
+src_compile() {
+ emake || die "emake failed"
+ if use doc; then
+ emake docs || die "emake docs failed"
+ fi
+}
+
+src_test() {
+ emake check || die "emake check failed"
+ # make check only compiles the tests. run them
+ for d in test/Mn*; do
+ cd "${S}"/${d}
+ for t in test_*; do
+ ./${t} || die "${t} failed"
+ done
+ done
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ insinto /usr/share/doc/${PF}/MnTutorial
+ doins test/MnTutorial/*.{h,cxx}
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins "${DISTDIR}"/mn*.pdf || die "doins failed"
+ dohtml -r doc/html/* || die "dohtml failed"
+ fi
+}