blob: ee2b55d15f84c81c8258237b0ad95eb2b06f5f26 (
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
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild,v 1.3 2007/10/12 00:32:21 wltjr Exp $
jcefile="jce_policy-6.zip"
DESCRIPTION="Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files ${PV}"
HOMEPAGE="http://java.sun.com/javase/6/"
SRC_URI="${jcefile}"
SLOT="1.6"
LICENSE="sun-bcla-java-vm"
KEYWORDS="amd64 x86 ~x86-fbsd"
RESTRICT="fetch"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S="${WORKDIR}/jce"
FETCH_JCE="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jce_policy-6-oth-JPR&SiteId=JSC&TransactionId=noreg"
pkg_nofetch() {
einfo "Please download ${jcefile} from:"
einfo ${FETCH_JCE}
einfo "(JCE Unlimited Strength Jurisdiction Policy Files 6)"
einfo "and move it to ${DISTDIR}"
}
src_unpack() {
if [ ! -r ${DISTDIR}/${jcefile} ]; then
die "cannot read ${jcefile}. Please check the permission and try again."
fi
unpack ${A}
}
src_install() {
dodir /opt/${P}/jre/lib/security/unlimited-jce
insinto /opt/${P}/jre/lib/security/unlimited-jce
doins *.jar
dodoc README.txt
dohtml COPYRIGHT.html
}
|