dev-java/toolbar: Clean up old.

Package-Manager: portage-2.2.26
This commit is contained in:
Patrice Clement
2016-04-01 20:25:42 +00:00
parent 98208ef7c4
commit 63b0e04c7b
3 changed files with 0 additions and 75 deletions

View File

@@ -1,2 +1 @@
DIST toolbar-1.1.0-src.zip 72829 SHA256 4a873f7f8202e000b050d2777b78ea51410b3d5d7bc8456c111292b81d53c28e SHA512 57f4b7970beb78f979bd3970dfc528e0a26e38828dcb8a2cc81c8f886e900f81fe53ca6cae7b5cfa3ce93cc273fa2f440cb0bd720ba6052e84e9f2df1e77099e WHIRLPOOL 0d16d46392404254726070ad6fc392204f3262adeb6a4f2da0abff1e20317b476afea4ece91c5e527ffca8096bdcbbd4049ab46f6f39129f0cfa5c7ff74852b2
DIST toolbar-1.1.0.zip 72829 SHA256 4a873f7f8202e000b050d2777b78ea51410b3d5d7bc8456c111292b81d53c28e SHA512 57f4b7970beb78f979bd3970dfc528e0a26e38828dcb8a2cc81c8f886e900f81fe53ca6cae7b5cfa3ce93cc273fa2f440cb0bd720ba6052e84e9f2df1e77099e WHIRLPOOL 0d16d46392404254726070ad6fc392204f3262adeb6a4f2da0abff1e20317b476afea4ece91c5e527ffca8096bdcbbd4049ab46f6f39129f0cfa5c7ff74852b2

View File

@@ -1,21 +0,0 @@
<project name="Toolbar" default="jar" basedir=".">
<property name="src" value="."/>
<property name="build" value="build"/>
<property name="dest" value="dest"/>
<property file="build.properties"/>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
<mkdir dir="${dest}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}"/>
</target>
<target name="jar" depends="compile">
<jar destfile="${dest}/toolbar-${version}.jar" basedir="${build}"/>
</target>
</project>

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="source"
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="An improved version of JToolBar"
HOMEPAGE="http://toolbar.tigris.org"
SRC_URI="http://toolbar.tigris.org/files/documents/869/25285/toolbar-${PV}-src.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=">=virtual/jdk-1.4
app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
unpack ${A}
# Remove the CVS directories
ecvs_clean
# Make the work environment
mkdir "${S}"
# Setup the structure
mv src "${S}"
rm -rf test
# Copy over the build.xml
cp "${FILESDIR}"/build.xml "${S}" || die "Unable to copy the build file!"
cat > "${S}/build.properties" <<- EOF
src=src
dest=dest
build=build
version=${PV}
EOF
}
src_compile() {
eant -Dversion=${PV}
}
src_install() {
java-pkg_newjar dest/toolbar-${PV}.jar ${PN}.jar
use source && java-pkg_dosrc "${S}"/src/org/
}