Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 12327 Details for
Bug 21472
black-sun-bin-0.3.1.ebuild (New ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
black-sun-0.3.1.ebuild
black-sun-0.3.1.ebuild (text/plain), 2.33 KB, created by
Tim Hobbs
on 2003-05-23 05:55:35 UTC
(
hide
)
Description:
black-sun-0.3.1.ebuild
Filename:
MIME Type:
Creator:
Tim Hobbs
Created:
2003-05-23 05:55:35 UTC
Size:
2.33 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header:$ > >S="${WORKDIR}" >DESCRIPTION="A number of plugins for Eclipse that make life easier. Tools include regex. find and replace, editors for XML, HTML, CSS, Makefile, ... etc." >SRC_URI="mirror://sourceforge/black-sun/${PN}-src-${PV}.tgz" >HOMEPAGE="http://black-sun.sourceforge.net/" >LICENSE="GPL-2" >KEYWORDS="x86" >IUSE="" >#DEPEND=">=virtual/jdk-1.4.1" >RDEPEND="${DEPEND} > >=dev-util/eclipse-platform-bin-2.1* > >=dev-util/eclipse-gef-bin-2.1*" > >src_compile() { > [ `java-config --java | grep 1.4` ] || die "Java 1.4 must be used to compile this ebuild" > # Include the installed eclipse jars in the classpath > for jar in `find /opt/eclipse -name "*.jar"` > do > classpath=${classpath}:${jar} > done > # Include any supplied jars in the classpath > for jar in `find ${S} -name "*.jar" | grep -v "src.jar"` > do > classpath=${classpath}:${jar} > done > # charp does not want to compile > for plugin in eclipse.util eclipse.builder eclipse.swt eclipse.draw2d eclipse.jdt eclipse.editors > do > # The package contains period separators > package=com.port80.${plugin} > # The jar file uses underscores :-/ > # and no leading com > jar=port80_`echo ${plugin} | sed -e 's/\./_/g'`.jar > cd ${plugin} > javac -classpath ${classpath} `find . -name "*.java"` > cd src > rm `find . -name "*.java"` > if [ -e org ] > then > jar cf ${jar} com/ org/ > else > jar cf ${jar} com/ > fi > classpath=${classpath}:${S}/${plugin}/src/${jar} > cd ${S} > done >} > >src_install () { > > for plugin in eclipse.util eclipse.builder eclipse.swt eclipse.draw2d eclipse.jdt eclipse.editors > do > plugin_dir=/opt/eclipse/plugins/com.port80.${plugin} > dodir ${plugin_dir} > # These two plugins actually have differently named directories... > if [ "${plugin}" == "eclipse.draw2d" -o "${plugin}" == "eclipse.swt" ] > then > dosym ${plugin_dir} /opt/eclipse/plugins/com.port80${plugin##eclipse} > fi > cd ${S}/${plugin} > chmod 644 plugin.xml > [ -e plugin.properties ] && cp -dR plugin.properties ${D}${plugin_dir}/ > [ -e plugin.xml ] && cp -dR plugin.xml ${D}${plugin_dir}/ > [ -e theme.xml ] && cp -dR theme.xml ${D}${plugin_dir}/ > [ -e icons ] && cp -dR icons ${D}${plugin_dir}/ > [ -e src ] && cp -dR src/*.jar ${D}${plugin_dir}/ > docinto ${plugin} > [ -e doc/html ] && dohtml doc/html > done >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 21472
:
12289
|
12291
| 12327