diff options
Diffstat (limited to 'sci-physics/qcl/qcl-0.6.3-r1.ebuild')
-rw-r--r-- | sci-physics/qcl/qcl-0.6.3-r1.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sci-physics/qcl/qcl-0.6.3-r1.ebuild b/sci-physics/qcl/qcl-0.6.3-r1.ebuild index 6419134e9..22da81b14 100644 --- a/sci-physics/qcl/qcl-0.6.3-r1.ebuild +++ b/sci-physics/qcl/qcl-0.6.3-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=2 +EAPI=5 + inherit eutils flag-o-matic DESCRIPTION="Quantum Computation Language with an emulator of a quantum computer" @@ -21,19 +22,18 @@ DEPEND="media-libs/plotutils sys-libs/readline" RDEPEND="${DEPEND}" -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc43.patch - epatch "${FILESDIR}"/${P}-makefile.patch -} +PATCHES=( + "${FILESDIR}/${P}"-gcc43.patch + "${FILESDIR}/${P}"-makefile.patch +) src_install() { emake \ QCLDIR="${D}/usr/share/${PN}" \ - QCLBIN="${D}/usr/bin" install \ - || die "emake install failed" + QCLBIN="${D}/usr/bin" install dodoc README CHANGES if use doc; then insinto /usr/share/doc/${PF} - doins "${DISTDIR}"/{structquprog,qcldoc,quprog}.pdf || die + doins "${DISTDIR}"/{structquprog,qcldoc,quprog}.pdf fi } |