diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-01-23 20:06:16 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-01-23 20:06:16 +0000 |
commit | d6eb0848278c832471eb4d45320ef98ad0134efa (patch) | |
tree | e4ff304a9552cb453aa1aa7b8941e7ebe108a151 /dev-java/blackdown-jdk | |
parent | small fixes for adding GLU in future (diff) | |
download | gentoo-2-d6eb0848278c832471eb4d45320ef98ad0134efa.tar.gz gentoo-2-d6eb0848278c832471eb4d45320ef98ad0134efa.tar.bz2 gentoo-2-d6eb0848278c832471eb4d45320ef98ad0134efa.zip |
New Java scheme
Diffstat (limited to 'dev-java/blackdown-jdk')
-rw-r--r-- | dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild index c7ad0a2f4151..ed59fcb90515 100644 --- a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild +++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Karl Trygve Kalleberg <karltk@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild,v 1.1 2002/01/20 22:29:07 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild,v 1.2 2002/01/23 20:06:16 karltk Exp $ A=j2sdk-1.3.1-FCS-linux-i386.tar.bz2 S=${WORKDIR}/j2sdk1.3.1 @@ -20,7 +20,7 @@ src_install () { dodir /opt/${P} - cp -R ${S}/{bin,jre,lib,man,include,include-old} ${D}/opt/${P} + cp -dpR ${S}/{bin,jre,lib,man,include,include-old} ${D}/opt/${P} dodir /opt/${P}/share/java cp -R ${S}/{demo,src.jar} ${D}/opt/${P}/share @@ -32,10 +32,14 @@ src_install () { dosym /opt/${P}/jre/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla/plugins/javaplugin_oji.so fi + find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \; + dodir /etc/env.d echo "PATH=/opt/${P}/bin" > ${D}/etc/env.d/20java echo "JAVA_HOME=/opt/${P}" >> ${D}/etc/env.d/20java + echo "ROOTPATH=/opt/${P}/bin" >> ${D}/etc/env.d/20java echo "CLASSPATH=/opt/${P}/jre/lib/rt.jar" >> ${D}/etc/env.d/20java + echo "LDPATH=/opt/${P}/jre/lib/i386:/opt/${P}/jre/lib/i386/client" >> ${D}/etc/env.d/20java } pkg_postinst () { |