diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-11-11 17:00:58 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-11-11 17:00:58 +0000 |
commit | 89b998c4eef9669c29a8b54284fdab9dbbfbc2b9 (patch) | |
tree | b516ed94cbeb73343827bdcba31e1bafae240afb /dev-cpp/muParser/muParser-1.34.ebuild | |
parent | Added gradm match description. (diff) | |
download | gentoo-2-89b998c4eef9669c29a8b54284fdab9dbbfbc2b9.tar.gz gentoo-2-89b998c4eef9669c29a8b54284fdab9dbbfbc2b9.tar.bz2 gentoo-2-89b998c4eef9669c29a8b54284fdab9dbbfbc2b9.zip |
Version Bump
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/muParser/muParser-1.34.ebuild')
-rw-r--r-- | dev-cpp/muParser/muParser-1.34.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-cpp/muParser/muParser-1.34.ebuild b/dev-cpp/muParser/muParser-1.34.ebuild new file mode 100644 index 000000000000..83e186d670a4 --- /dev/null +++ b/dev-cpp/muParser/muParser-1.34.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-1.34.ebuild,v 1.1 2010/11/11 17:00:58 jlec Exp $ + +EAPI=2 + +inherit eutils + +MY_PN=${PN/P/p} +MY_P=${MY_PN}_v${PV/./} + +DESCRIPTION="Library for parsing mathematical expressions" +HOMEPAGE="http://muparser.sourceforge.net/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc test" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.32-build.patch \ + "${FILESDIR}"/${PN}-1.32-parallel-build.patch +} + +src_configure() { + econf $(use_enable test samples) +} + +src_test() { + cat > test.sh <<- EOFTEST + LD_LIBRARY_PATH=${S}/lib samples/example1/example1 << EOF + quit + EOF + EOFTEST + sh ./test.sh || die "test failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc Changes.txt Credits.txt || die "dodoc failed" + if use doc; then + insinto /usr/share/doc/${PF} + doins -r docs/html || die + fi +} |