diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2009-04-19 20:53:36 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2009-04-19 20:53:36 +0000 |
commit | 431274e08df33a59fad557951f47c428b0f1a71f (patch) | |
tree | fc006382bce7acb4f14576c9997304ac0d2c5f9d /dev-libs/tvmet/tvmet-1.7.2-r1.ebuild | |
parent | Fix ebuild to respect CXXFLAGS, thanks to Diego E. 'Flameeyes' Pettenò <flam... (diff) | |
download | historical-431274e08df33a59fad557951f47c428b0f1a71f.tar.gz historical-431274e08df33a59fad557951f47c428b0f1a71f.tar.bz2 historical-431274e08df33a59fad557951f47c428b0f1a71f.zip |
Fix build so it respects CXXFLAGS, thanks to Diego E. 'Flameeyes' Pettenò <flameeyes AT gentoo DOT org> for reporting; bug #240229
Package-Manager: portage-2.2_rc30/cvs/Linux i686
Diffstat (limited to 'dev-libs/tvmet/tvmet-1.7.2-r1.ebuild')
-rw-r--r-- | dev-libs/tvmet/tvmet-1.7.2-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/tvmet/tvmet-1.7.2-r1.ebuild b/dev-libs/tvmet/tvmet-1.7.2-r1.ebuild new file mode 100644 index 000000000000..564270427feb --- /dev/null +++ b/dev-libs/tvmet/tvmet-1.7.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tvmet/tvmet-1.7.2-r1.ebuild,v 1.1 2009/04/19 20:53:36 halcy0n Exp $ + +inherit eutils + +DESCRIPTION="Tiny Vector Matrix library using Expression Templates" +HOMEPAGE="http://tvmet.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc test" + +DEPEND="doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-respect-cxxflags.patch" + epatch "${FILESDIR}/${PV}-docs_missing_destdir.patch" + + sed -i \ + -e 's|^GENERATE_LATEX.*|GENERATE_LATEX = NO|' \ + doc/Doxyfile.in || die "sed failed" +} + +src_compile() { + econf \ + $(use_enable debug) \ + $(use_enable doc docs) \ + $(use_enable test cppunit) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS +} |