/[gentoo-x86]/dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild
Gentoo

Contents of /dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu May 10 15:59:52 2012 UTC (2 years, 4 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha103/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild,v 1.5 2011/09/08 12:02:23 caster Exp $
4
5 jcefile="jce_policy-6.zip"
6
7 DESCRIPTION="Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files ${PV}"
8 HOMEPAGE="http://www.oracle.com/technetwork/java/javase/overview/index-jsp-136246.html"
9 SRC_URI="${jcefile}"
10 SLOT="1.6"
11 LICENSE="Oracle-BCLA-JavaSE"
12 KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd"
13 RESTRICT="fetch"
14 IUSE=""
15
16 DEPEND="app-arch/unzip"
17 RDEPEND=""
18
19 S="${WORKDIR}/jce"
20
21 FETCH_JCE="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html"
22
23 pkg_nofetch() {
24 einfo "Please download ${jcefile} from:"
25 einfo ${FETCH_JCE}
26 einfo "(JCE Unlimited Strength Jurisdiction Policy Files 6)"
27 einfo "and move it to ${DISTDIR}"
28 }
29
30 src_unpack() {
31 if [ ! -r "${DISTDIR}"/${jcefile} ]; then
32 die "cannot read ${jcefile}. Please check the permission and try again."
33 fi
34
35 unpack ${A}
36 }
37
38 src_install() {
39 dodir /opt/${P}/jre/lib/security/unlimited-jce
40
41 insinto /opt/${P}/jre/lib/security/unlimited-jce
42 doins *.jar
43 dodoc README.txt
44 dohtml COPYRIGHT.html
45 }

  ViewVC Help
Powered by ViewVC 1.1.20