1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="C library for quantum computing and quantum simulation"
8 HOMEPAGE="http://www.libquantum.de/"
9 SRC_URI="http://www.libquantum.de/files/${P}.tar.gz"
13 KEYWORDS="~amd64 ~sparc ~x86"
14 IUSE="+lapack examples profile"
16 DEPEND="lapack? ( virtual/lapack )"
22 $(use_enable profile profiling)
27 emake quobtools || die
31 emake DESTDIR="${D}" install || die
32 emake DESTDIR="${D}" quobtools_install || die
34 if use examples ; then
36 newdoc INSTALL INSTALL.how_to_compile_own_stuff || die
37 dodoc shor.c grover.c || die