summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-04-09 16:21:37 +0000
committerMichael Weber <xmw@gentoo.org>2010-04-09 16:21:37 +0000
commit3d1c42b0a59016d71332a23140156d4efc3a586d (patch)
treeab9f6175f8d7975651200b43d9d9145643546d77 /sci-libs/libquantum
parentsys-apps/uam: Version bump. (diff)
downloadsunrise-3d1c42b0a59016d71332a23140156d4efc3a586d.tar.gz
sunrise-3d1c42b0a59016d71332a23140156d4efc3a586d.tar.bz2
sunrise-3d1c42b0a59016d71332a23140156d4efc3a586d.zip
sci-libs/libquantum: New Ebuild for bug 251680
svn path=/sunrise/; revision=10422
Diffstat (limited to 'sci-libs/libquantum')
-rw-r--r--sci-libs/libquantum/ChangeLog8
-rw-r--r--sci-libs/libquantum/Manifest4
-rw-r--r--sci-libs/libquantum/libquantum-1.1.0.ebuild39
-rw-r--r--sci-libs/libquantum/metadata.xml5
4 files changed, 56 insertions, 0 deletions
diff --git a/sci-libs/libquantum/ChangeLog b/sci-libs/libquantum/ChangeLog
new file mode 100644
index 000000000..4bca52748
--- /dev/null
+++ b/sci-libs/libquantum/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for sci-libs/libquantum
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 09 Apr 2010; Michael Weber (xmw) <gentoo@xmw.de> +libquantum-1.1.0.ebuild,
+ +metadata.xml:
+ New Ebuild for bug 251680
+
diff --git a/sci-libs/libquantum/Manifest b/sci-libs/libquantum/Manifest
new file mode 100644
index 000000000..2c03a4d08
--- /dev/null
+++ b/sci-libs/libquantum/Manifest
@@ -0,0 +1,4 @@
+DIST libquantum-1.1.0.tar.gz 224850 RMD160 20eb784b5b4a2fd97974354179f321c2ec9a56e6 SHA1 16487a8d0835ef671235e954f08ea884fe410844 SHA256 2fc145055170418e03869d61f6b1102242aab0af5413f236826b616dad97f0b6
+EBUILD libquantum-1.1.0.ebuild 838 RMD160 8a8648d3f3a1ffcbf9fc022351f69009940d55c4 SHA1 391ebf1d389586df3bad6b1b4039feeb151a2451 SHA256 d46eb5982da473256d93b6e6f1f1e1ce37687d6f34f0752aac067b165c54a9d2
+MISC ChangeLog 243 RMD160 07fd87ef25c9633e98dca38569df51cf04cae2ff SHA1 51bc8e12c0aa7c95b65a7814047d09a03eae3290 SHA256 2b036401a17d960a0c70f0f3cfb21e5f80ff2bd3631b39ec70dbab96d6a658d1
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sci-libs/libquantum/libquantum-1.1.0.ebuild b/sci-libs/libquantum/libquantum-1.1.0.ebuild
new file mode 100644
index 000000000..cac77ee13
--- /dev/null
+++ b/sci-libs/libquantum/libquantum-1.1.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+DESCRIPTION="C library for quantum computing and quantum simulation"
+HOMEPAGE="http://www.libquantum.de/"
+SRC_URI="http://www.libquantum.de/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="+lapack examples profile"
+
+DEPEND="lapack? ( virtual/lapack )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ $(use_with lapack) \
+ $(use_enable profile profiling)
+}
+
+src_compile() {
+ emake || die
+ emake quobtools || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" quobtools_install || die
+ dodoc CHANGES || die
+ if use examples ; then
+ docinto examples/
+ newdoc INSTALL INSTALL.how_to_compile_own_stuff || die
+ dodoc shor.c grover.c || die
+ fi
+}
diff --git a/sci-libs/libquantum/metadata.xml b/sci-libs/libquantum/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/sci-libs/libquantum/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>