1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils flag-o-matic multilib toolchain-funcs
7 DESCRIPTION="NativeBigInteger libs for Freenet taken from i2p"
8 HOMEPAGE="http://www.i2p.net"
9 SRC_URI="http://dev.gentooexperimental.org/~tommy/${P}.tar.bz2"
11 LICENSE="|| ( public-domain BSD MIT )"
13 KEYWORDS="~amd64 ~x86"
18 RDEPEND="dev-libs/gmp"
20 QA_TEXTRELS="opt/freenet/lib/libjcpuid-x86-linux.so"
25 cp "${FILESDIR}"/Makefile .
27 use amd64 || filter-flags -fPIC
32 make DESTDIR="${D}" LIBDIR=$(get_libdir) install || die