aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
commit76ffb781ed7a917f23b67454e9f950e5e3b83527 (patch)
tree94fa8e1ddc7cb9ef80b78ea7896a5845f074f95b /sci-physics
parentmove stuff to root (diff)
downloadsci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.gz
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.bz2
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.zip
moved overlay to new directory
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@979 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/clhep/ChangeLog8
-rw-r--r--sci-physics/clhep/Manifest4
-rw-r--r--sci-physics/clhep/clhep-2.0.3.2.ebuild50
-rw-r--r--sci-physics/clhep/metadata.xml10
-rw-r--r--sci-physics/qcl/ChangeLog13
-rw-r--r--sci-physics/qcl/Manifest8
-rw-r--r--sci-physics/qcl/files/qcl-0.6.2.patch32
-rw-r--r--sci-physics/qcl/metadata.xml9
-rw-r--r--sci-physics/qcl/qcl-0.6.3.ebuild40
9 files changed, 174 insertions, 0 deletions
diff --git a/sci-physics/clhep/ChangeLog b/sci-physics/clhep/ChangeLog
new file mode 100644
index 000000000..3769fd94d
--- /dev/null
+++ b/sci-physics/clhep/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for sci-physics/clhep
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 15 Jan 2008; S├ębastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +clhep-2.0.3.2.ebuild:
+ Initial import
+
diff --git a/sci-physics/clhep/Manifest b/sci-physics/clhep/Manifest
new file mode 100644
index 000000000..0391737a8
--- /dev/null
+++ b/sci-physics/clhep/Manifest
@@ -0,0 +1,4 @@
+DIST clhep-2.0.3.2-src.tgz 5048972 RMD160 1e7a147d5cd950a09484fb47af18e0823e496d2b SHA1 3a6be896d90dc27ac11c68bcefc6b52721bb8041 SHA256 62fcbd20c613fe2541786c9b34d921bc659771ce81efeed85e4b755b32c1794c
+EBUILD clhep-2.0.3.2.ebuild 1181 RMD160 74e381701e671058921332294390b7c97429d147 SHA1 9e4f3605abb0effad5dff0428af1d20532c0e3d8 SHA256 a466be04ad6cca1a53b3950b607d1c879779f38a206e25ec6b49532b0a413307
+MISC ChangeLog 231 RMD160 aa8b213422967739482767a972ababd9919daaf4 SHA1 52a1b6c8dd63fc6f7f6a27dec82b7db4d614246d SHA256 1c6af1d72a6ef4aee58f3fa22c594e154578442db03036ed557e299594d56ac6
+MISC metadata.xml 401 RMD160 9b3b01a3ccc10ad8340a6fa83a47857ae8678fa9 SHA1 239babd5b008f5275190c1cf49c89fa6b2820c8d SHA256 45c2367f8d7b1c0a99250fba662e51a7bce383a8f9accda46328c6c101842e18
diff --git a/sci-physics/clhep/clhep-2.0.3.2.ebuild b/sci-physics/clhep/clhep-2.0.3.2.ebuild
new file mode 100644
index 000000000..e66148e12
--- /dev/null
+++ b/sci-physics/clhep/clhep-2.0.3.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit autotools flag-o-matic toolchain-funcs
+
+DESCRIPTION="High Energy Physics C++ library"
+HOMEPAGE="http://www.cern.ch/clhep"
+SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/${P}-src.tgz"
+
+LICENSE="public-domain"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="exceptions"
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PV}/CLHEP"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ for d in $(find . -name configure.in); do
+ pushd ${d/configure.in/}
+ # respect user flags and fix some compilers stuff
+ sed -i \
+ -e 's:^g++):*g++):g' \
+ -e 's:^icc):icc|icpc):g' \
+ -e '/AM_CXXFLAGS=/s:-O ::g' \
+ configure.in || die
+ # need to rebuild because original configurations
+ # have buggy detection
+ eautoconf
+ popd
+ done
+}
+
+src_compile() {
+ # use ld LDFLAGS for intel compiler
+ [[ $(tc-getCXX) = i*c ]] && \
+ export LDFLAGS="$(raw-ld-flags)"
+ econf $(use_enable exceptions) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README ChangeLog || die
+}
diff --git a/sci-physics/clhep/metadata.xml b/sci-physics/clhep/metadata.xml
new file mode 100644
index 000000000..a392c9ee9
--- /dev/null
+++ b/sci-physics/clhep/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-physics</herd>
+<longdescription lang="en">
+ A Class Library for High Energy Physics is intended to be a set of
+ HEP-specific foundation and utility classes such as random
+ generators, physics vectors, geometry and linear algebra.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-physics/qcl/ChangeLog b/sci-physics/qcl/ChangeLog
new file mode 100644
index 000000000..b7b4b50f1
--- /dev/null
+++ b/sci-physics/qcl/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for sci-mathematics/yorick
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 02 May 2007; S├ębastien Fabbro <bicatali@gentoo.org> -qcl-0.6.2.ebuild,
+ +qcl-0.6.3.ebuild:
+ Version bump and added amd64
+
+*qcl-0.6.2 (11 August 2006)
+
+ 11 August 2006; Andrey Grozin <A.G.Grozin@inp.nsk.su>
+ +metadata.xml, +qcl-0.6.2.ebuild:
+ Initial import
diff --git a/sci-physics/qcl/Manifest b/sci-physics/qcl/Manifest
new file mode 100644
index 000000000..2e9e32369
--- /dev/null
+++ b/sci-physics/qcl/Manifest
@@ -0,0 +1,8 @@
+AUX qcl-0.6.2.patch 925 RMD160 48b1680a84fd45d9e6be70809eb1790efa9733f3 SHA1 1e4a07ea2984f566cd970d58b4d399dfa7c732f5 SHA256 866d0a4946c22c99eadd30736424e66ccfaeba30b4adeb578965f131ab573b75
+DIST qcl-0.6.3.tgz 133786 RMD160 949a6d02224676cbd3f879801e22902347dc8296 SHA1 16ca54239d5f742a49ba400eeb766f6267a4f13a SHA256 c9f459b265ca181fdd4023cfb0d41a93a245eb5d47948a4002263384658d7cbb
+DIST qcldoc.pdf 435240 RMD160 6bbad4ec0c90f3bdd744014149699230a23f2b76 SHA1 97ba7d7f963ada3ea305f52ad4c61c0cba3f6df8 SHA256 a47f7e814b7848ba54d9e3749b66cc727376758dfdcb98c66531be01540f5886
+DIST quprog.pdf 529617 RMD160 94f98069519b7154fe6210487fd0844645d9c6b4 SHA1 dbb8c4181ca89014299073adbecabb979201475a SHA256 d201296097d649b42da56fc713f7242b6786402ed936c28054eb530840d379ec
+DIST structquprog.pdf 671665 RMD160 5ac3f75809b9339306877bd2a2c2859f96ff869d SHA1 b21684e8a3f2fd91aec6337316b3c61654243f78 SHA256 8652df84461aeec6526ee72d0419baa963569e8d7a866e95176ab11da0c133bd
+EBUILD qcl-0.6.3.ebuild 1045 RMD160 9be2cf62f5232a08529b255349f5fb9c6d8406e9 SHA1 26065f64a27e1d32d8b9ae85491452dac2e4cdde SHA256 4976a103e0481921713ac6e93362e94d4c78a71734f9df047222c6a6a52133c4
+MISC ChangeLog 388 RMD160 283160c629241beb05fb3382ffe137e32ec41f50 SHA1 4244ad10d97cc7eb8e76d0b34568f635f6312a5b SHA256 c4d572cca5bcd0f95c690fd733eae4ef97067add7ce383c2eee06ae1689c2bd3
+MISC metadata.xml 255 RMD160 3888d84eebc61a6fbe9ea73869ff58e096ff9377 SHA1 dc17c251c75cf6522bb086979083876d2f8b1620 SHA256 cbe073c7ed8462cb5b809f71393d81734ab4dec4f754022431070f1d7b58b2aa
diff --git a/sci-physics/qcl/files/qcl-0.6.2.patch b/sci-physics/qcl/files/qcl-0.6.2.patch
new file mode 100644
index 000000000..706a20016
--- /dev/null
+++ b/sci-physics/qcl/files/qcl-0.6.2.patch
@@ -0,0 +1,32 @@
+diff -r -U4 qcl-0.6.2/Makefile qcl-0.6.2.new/Makefile
+--- qcl-0.6.2/Makefile 2006-05-18 15:20:15.000000000 +0200
++++ qcl-0.6.2.new/Makefile 2006-09-21 02:42:51.000000000 +0200
+@@ -29,11 +29,12 @@
+ #ARCHOPT = -m32 -march=i686
+
+ # Debugging and optimization options
+
++OPT = -g -O2
+ #DEBUG = -g -pg -DQCL_DEBUG -DQC_DEBUG
+ #DEBUG = -g -DQCL_DEBUG -DQC_DEBUG
+-DEBUG = -O2 -g -DQCL_DEBUG -DQC_DEBUG
++DEBUG = $(OPT) -DQCL_DEBUG -DQC_DEBUG
+ #DEBUG = -O2
+
+ # Plotting support
+ #
+diff -r -U4 qcl-0.6.2/qc/Makefile qcl-0.6.2.new/qc/Makefile
+--- qcl-0.6.2/qc/Makefile 2006-05-18 15:20:15.000000000 +0200
++++ qcl-0.6.2.new/qc/Makefile 2006-09-21 02:41:51.000000000 +0200
+@@ -15,9 +15,10 @@
+ #ARCHOPT = -m32 -march=i686
+
+ # Debugging options
+
+-DEBUG = -g -O2 -DQC_DEBUG
++OPT = -g -O2
++DEBUG = $(OPT) -DQC_DEBUG
+ #DEBUG = -g -pg -DQC_DEBUG
+ #DEBUG = -O2
+
+ # Comment out if you if you want to use SysV Xrand48() linear congruential
diff --git a/sci-physics/qcl/metadata.xml b/sci-physics/qcl/metadata.xml
new file mode 100644
index 000000000..52cfea019
--- /dev/null
+++ b/sci-physics/qcl/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-physics</herd>
+<maintainer>
+<email>A.G.Grozin@inp.nsk.su</email>
+<name>Andrey Grozin</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sci-physics/qcl/qcl-0.6.3.ebuild b/sci-physics/qcl/qcl-0.6.3.ebuild
new file mode 100644
index 000000000..e4c9d5619
--- /dev/null
+++ b/sci-physics/qcl/qcl-0.6.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Quantum Computation Language with an emulator of a quantum computer"
+HOMEPAGE="http://tph.tuwien.ac.at/~oemer/qcl.html"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc"
+RESTRICT="nomirror"
+SRC_URI="http://tph.tuwien.ac.at/~oemer/tgz/${P}.tgz
+ doc? ( http://tph.tuwien.ac.at/~oemer/doc/structquprog.pdf
+ http://tph.tuwien.ac.at/~oemer/doc/qcldoc.pdf
+ http://tph.tuwien.ac.at/~oemer/doc/quprog.pdf )"
+DEPENDS="media-libs/plotutils"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/qcl-0.6.2.patch"
+}
+
+src_compile() {
+ strip-flags
+ emake QCLDIR="/usr/share/${PN}" OPT="${CXXFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake QCLDIR="${D}/usr/share/${PN}" QCLBIN="${D}/usr/bin" install \
+ || die "install failed"
+ dodoc README CHANGES
+ if use doc ; then
+ insinto "/usr/share/doc/${PF}"
+ cd "${DISTDIR}"
+ doins structquprog.pdf qcldoc.pdf quprog.pdf
+ fi
+}