blob: 034f7c25c5a8ab005c462a2de111f17c9cab241b [file] [log] [blame]
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ntl-5.3.2.ebuild,v 1.2 2004/09/30 22:27:39 george Exp $
DESCRIPTION="high-performance, portable C++ ci-computational ibrar"
HOMEPAGE="http://shoup.net/ntl/"
SRC_URI="http://www.shoup.net/ntl/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
DEPEND=">=dev-libs/gmp-4.1-r1"
src_compile() {
cd src
./configure \
PREFIX=/usr \
NTL_GMP_LIP=on NTL_STD_CXX=on\
"CFLAGS=$CFLAGS -Wno-deprecated" || die "./configure failed"
make || die "make failed"
make check || die "make check failed - make did not make something good..."
}
src_install() {
cd src
make PREFIX=${D}/usr/ install || die
#now somewhat clean-up docs
cd ${S}
dodoc README
cd ${S}/doc
dodoc *.txt
dohtml *.html *.gif
rm -rf ${D}/usr/doc
}