diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-06-25 18:13:01 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-06-25 18:13:01 +0000 |
commit | 6c5e60e19b4f6d13505d2ed2714f92dcd8c2c7d7 (patch) | |
tree | e1caa7e197abd5ba7e18894c74781965a7fb1b7d /sci-libs/itpp/itpp-4.3.0.ebuild | |
parent | Version bump. (diff) | |
download | historical-6c5e60e19b4f6d13505d2ed2714f92dcd8c2c7d7.tar.gz historical-6c5e60e19b4f6d13505d2ed2714f92dcd8c2c7d7.tar.bz2 historical-6c5e60e19b4f6d13505d2ed2714f92dcd8c2c7d7.zip |
Version bump
Package-Manager: portage-2.2.01.22013-prefix/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs/itpp/itpp-4.3.0.ebuild')
-rw-r--r-- | sci-libs/itpp/itpp-4.3.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sci-libs/itpp/itpp-4.3.0.ebuild b/sci-libs/itpp/itpp-4.3.0.ebuild new file mode 100644 index 000000000000..17bc0f6ae64e --- /dev/null +++ b/sci-libs/itpp/itpp-4.3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/itpp-4.3.0.ebuild,v 1.1 2013/06/25 18:12:45 bicatali Exp $ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="C++ library of mathematical, signal processing and communication" +HOMEPAGE="http://itpp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +RDEPEND=" + virtual/blas + virtual/lapack + >=sci-libs/fftw-3" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen virtual/latex-base )" + +DOCS=(ChangeLog NEWS AUTHORS README) + +src_prepare() { + # gentoo redefines the CMAKE_BUILD_TYPE + sed -i \ + -e 's/CMAKE_BUILD_TYPE STREQUAL Release/NOT CMAKE_BUILD_TYPE STREQUAL Debug/' \ + CMakeLists.txt || die + # respect gentoo doc dir + sed -i \ + -e "s:share/doc/itpp:share/doc/${PF}:" \ + itpp/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DBLA_VENDOR=Generic + $(cmake-utils_use doc HTML_DOCS) + ) + cmake-utils_src_configure +} |