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.
42 lines
850 B
42 lines
850 B
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libmath++/libmath++-0.0.4.ebuild,v 1.11 2009/10/13 13:30:22 ssuominen Exp $
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="template based math library, written in C++, for symbolic and numeric calculus applications"
|
|
HOMEPAGE="http://rm-rf.in/libmath%2B%2B/"
|
|
SRC_URI="http://upstream.rm-rf.in/libmath%2B%2B/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="1"
|
|
KEYWORDS="ppc s390 x86 amd64"
|
|
IUSE="doc"
|
|
|
|
DEPEND="doc? ( app-doc/doxygen )"
|
|
RDEPEND=""
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
eautoreconf
|
|
}
|
|
|
|
src_compile() {
|
|
econf
|
|
emake || die
|
|
|
|
if use doc; then
|
|
emake -C doc api-doc
|
|
fi
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die
|
|
dodoc AUTHORS README TODO
|
|
|
|
if use doc; then
|
|
dohtml -r "${S}"/doc/user-api/*
|
|
fi
|
|
}
|