mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-java/txw2-runtime: Clean up old.
Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST txw2-20070407.zip 1183977 SHA256 e90e7385f42be3a379547e497093e0c5ffd1033e18056ca4df69eb8cdc2108ed SHA512 60c4ea2110e09f4cecd348ef5cb2f75f872479b058870a8ab45eb03578c1cd2efb4db5e028a8090f9c1f46c6fc30985dfb9faa3682055c49c2accb6aa4010081 WHIRLPOOL 8cc5b787394d6f28a9ae1614ee07960e9eb1175ea96c883fef65eae9590d6bd3090b8b106a66f6d3b3b311585a349f5aeb5b758157138efb2bae76d35d573cb3
|
||||
DIST txw2-20110809-sources.jar 96939 SHA256 39b43336285320e0d62757820c4d3294efbe1b9ed935743dd461fbf6ac55faef SHA512 1f0779b0c0f38a0a71f495a6167876fa7df1de7a38343717edcc50d54df45c98c47eeed30c692de68e9c9a7f217cde463288e73a6d274f732578550220c27fc8 WHIRLPOOL ec72494dfbd213a884ef4e2d864e449fb2380dd631507510bc829915a826b467180ba921a79ce9800015ac47717676baa095e1e3f2dadff48858d07c147f9816
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="txw2" basedir=".">
|
||||
<target name="compiler-compile" depends="runtime-jar">
|
||||
<mkdir dir="build-compiler"/>
|
||||
<javac debug="false" srcdir="compiler" destdir="build-compiler">
|
||||
<classpath>
|
||||
<fileset dir="lib" includes="**/*.jar"/>
|
||||
<fileset dir="." includes="txwc2.jar"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
<target name="runtime-compile">
|
||||
<mkdir dir="build-runtime"/>
|
||||
<javac debug="false" srcdir="runtime" destdir="build-runtime">
|
||||
<classpath>
|
||||
<fileset dir="lib" includes="**/*.jar"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
<target name="compiler-jar" depends="compiler-compile">
|
||||
<jar destfile="txwc2.jar">
|
||||
<fileset dir="build-compiler" includes="**/*.class"/>
|
||||
</jar>
|
||||
</target>
|
||||
<target name="runtime-jar" depends="runtime-compile">
|
||||
<jar destfile="txw2.jar">
|
||||
<fileset dir="build-runtime" includes="**/*.class"/>
|
||||
</jar>
|
||||
</target>
|
||||
</project>
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="TXW is a library that allows you to write XML documents"
|
||||
HOMEPAGE="https://txw.dev.java.net/"
|
||||
SRC_URI="https://txw.dev.java.net/files/documents/3310/54821/txw2-${PV}.zip"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="java-virtuals/stax-api"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/txw2-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}"
|
||||
rm -v *.jar || die
|
||||
cd "${S}/lib"
|
||||
rm -v *.jar || die
|
||||
|
||||
java-pkg_jarfrom --build-only ant-core
|
||||
java-pkg_jarfrom --virtual stax-api
|
||||
|
||||
cd "${S}"
|
||||
unzip -qq txw2-src.zip -d runtime || die unzip failed
|
||||
unzip -qq txw2c-src.zip -d compiler || die unzip failed
|
||||
|
||||
cp -i "${FILESDIR}/build.xml-20070407" "${S}/build.xml" || die cp failed
|
||||
|
||||
}
|
||||
|
||||
EANT_BUILD_TARGET="runtime-jar"
|
||||
EANT_DOC_TARGET=""
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar txw2.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc javadoc
|
||||
use source && java-pkg_dosrc runtime/*
|
||||
}
|
||||
Reference in New Issue
Block a user