summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/armadillo/armadillo-2.4.4.ebuild')
-rw-r--r--sci-libs/armadillo/armadillo-2.4.4.ebuild62
1 files changed, 0 insertions, 62 deletions
diff --git a/sci-libs/armadillo/armadillo-2.4.4.ebuild b/sci-libs/armadillo/armadillo-2.4.4.ebuild
deleted file mode 100644
index 18f148d91c58..000000000000
--- a/sci-libs/armadillo/armadillo-2.4.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/armadillo-2.4.4.ebuild,v 1.2 2012/05/04 08:22:52 jdhore Exp $
-
-EAPI=4
-
-CMAKE_IN_SOURCE_BUILD=1
-
-inherit cmake-utils
-
-DESCRIPTION="Streamlined C++ linear algebra library"
-HOMEPAGE="http://arma.sourceforge.net/"
-SRC_URI="mirror://sourceforge/arma/${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="atlas blas doc lapack"
-
-RDEPEND=">=dev-libs/boost-1.34
- atlas? ( sci-libs/lapack-atlas )
- blas? ( virtual/blas )
- lapack? ( virtual/lapack )"
-
-DEPEND="${DEPEND}
- virtual/pkgconfig"
-
-src_prepare() {
- # avoid the automagic cmake macros
- sed -i -e '/ARMA_Find/d' CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs=()
- if use blas; then
- mycmakeargs+=(
- -DBLAS_FOUND=ON
- -DBLAS_LIBRARIES="$(pkg-config --libs blas)"
- )
- fi
- if use lapack; then
- mycmakeargs+=(
- -DLAPACK_FOUND=ON
- -DLAPACK_LIBRARIES="$(pkg-config --libs lapack)"
- )
- fi
- if use atlas; then
- mycmakeargs=(
- -DCBLAS_FOUND=ON
- -DCLAPACK_FOUND=ON
- -DATLAS_INCLUDE_DIR="${EPREFIX}/usr/include/atlas/"
- -DCBLAS_LIBRARIES="$(pkg-config --libs cblas)"
- -DCLAPACK_LIBRARIES="-L${EPREFIX}/usr/lib64/lapack/atlas -llapack"
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- use doc && dodoc docs/*pdf
-}