blob: f5cf5efd0e756bcab9c54479f4026f775f9b0c02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils flag-o-matic multilib toolchain-funcs java-pkg-2
DESCRIPTION="NativeBigInteger libs for Freenet taken from i2p"
HOMEPAGE="http://www.i2p.net"
SRC_URI="http://dev.gentooexperimental.org/~tommy/${P}.tar.bz2"
LICENSE="|| ( public-domain BSD MIT )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-libs/gmp
>=virtual/jdk-1.4
!net-p2p/nativebiginteger"
RDEPEND="dev-libs/gmp"
QA_TEXTRELS="opt/freenet/lib/libjcpuid-x86-linux.so"
src_compile() {
append-flags -fPIC
tc-export CC
cp "${FILESDIR}"/Makefile .
emake libjbigi || die
emake libjcpuid || die
}
src_install() {
make DESTDIR="${D}" LIBDIR=$(get_libdir) install || die
}
|