You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/alglib/alglib-3.8.2.ebuild

29 lines
712 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/alglib/alglib-3.8.2.ebuild,v 1.2 2013/12/09 10:05:05 jlec Exp $
EAPI=5
inherit cmake-utils
DESCRIPTION="Numerical analysis and data processing library"
HOMEPAGE="http://www.alglib.net/"
SRC_URI="http://www.alglib.net/translator/re/${P}.cpp.tgz"
SLOT="0"
LICENSE="GPL-2+"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
S="${WORKDIR}"/cpp/
src_prepare() {
cp "${FILESDIR}"/CMakeLists.txt-${PV} CMakeLists.txt || die
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=( $(cmake-utils_use_build test) )
cmake-utils_src_configure
}