Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, betelgeuse@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-java/sun-jdk: ChangeLog sun-jdk-1.4.2.16.ebuild
Date: Fri, 05 Oct 2007 06:33:28
Message-Id: 20071005062129.GD29572@supernova
1 On 14:25 Thu 04 Oct , Petteri Raty (betelgeuse) wrote:
2 > 1.1 dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild?rev=1.1&content-type=text/plain
6
7 > if [ ! -r ${DISTDIR}/${At} ]; then
8 > if [ ! -r ${DISTDIR}/${jce_policy} ]; then
9 > tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
10 > if [ -f ${S}/lib/unpack ]; then
11 > UNPACK_CMD=${S}/lib/unpack
12 > PACK_FILE=${S}/`dirname $i`/`basename $i .jar`.pack
13 > if [ -f ${PACK_FILE} ]; then
14 > echo " unpacking: $i"
15 > $UNPACK_CMD ${PACK_FILE} ${S}/$i
16 > rm -f ${PACK_FILE}
17 > cp -pPR demo ${D}/opt/${P}/ || die
18 > cd ${D}/opt/${P}/jre/lib/security
19 > unzip ${DISTDIR}/${jce_policy}
20 > mv ${D}/opt/${P}/jre/lib/security/US_export_policy.jar ${D}/opt/${P}/jre/lib/security/strong-jce
21 > mv ${D}/opt/${P}/jre/lib/security/local_policy.jar ${D}/opt/${P}/jre/lib/security/strong-jce
22 > touch ${D}/opt/${P}/.systemPrefs/.system.lock
23 > chmod 644 ${D}/opt/${P}/.systemPrefs/.system.lock
24 > touch ${D}/opt/${P}/.systemPrefs/.systemRootModFile
25 > chmod 644 ${D}/opt/${P}/.systemPrefs/.systemRootModFile
26 > ${D}/opt/${P}/jre/plugin/desktop/sun_java.desktop > \
27 > ${T}/sun_java-${SLOT}.desktop
28 > domenu ${T}/sun_java-${SLOT}.desktop
29
30 Quote variables that can have spaces in them: D, S, T, WORKDIR,
31 FILESDIR, DESTDIR, ROOT.
32
33 Thanks,
34 Donnie
35 --
36 gentoo-dev@g.o mailing list