# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ #inherit libtool eutils autotools RESTRICT="primaryuri" DESCRIPTION="Scientific multi-agent simulation library." HOMEPAGE="http://sourceforge.net/projects/zarja/" SRC_URI="http://osdn.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 amd64" IUSE="" DEPEND="sci-libs/gsl virtual/lapack sci-libs/fftw dev-libs/boost dev-cpp/tclap" RDEPEND="${DEPEND}" src_compile() { # CXXFLAGS="-g3 -O0" econf --includedir=/usr/include/zarja || die "econf failed" emake || die "emake failed" doxygen } src_install() { emake install DESTDIR="${D}" || die "emake install failed" # insinto /usr/lib/pkgconfig # doins pkgconfig/zarja.pc dohtml html/* dodoc README AUTHORS FAQ copying || die }