dev-java/jzlib: Clean up old.

Package-Manager: portage-2.2.26
This commit is contained in:
Patrice Clement
2016-03-26 20:19:22 +00:00
parent 6cd3ab528d
commit 6d963af855
2 changed files with 0 additions and 87 deletions
-52
View File
@@ -1,52 +0,0 @@
<project name="Jzlib" default="dist" basedir=".">
<description>
JZlib is a re-implementation of zlib in pure Java.
The first and final aim for hacking this stuff is
to add the packet compression support to pure Java SSH systems.
</description>
<!-- set global properties for this build -->
<property name="version" value="1.0.5"/>
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property name="javadoc" location="javadoc"/>
<property name="javac.debug" value="false"/>
<path id="project.cp">
<pathelement location="${build}"/>
</path>
<target name="init">
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" debug="${javac.debug}">
</javac>
</target>
<target name="dist" depends="compile"
description="generate the distribution" >
<!-- Create the distribution directory -->
<mkdir dir="${dist}/lib"/>
<!-- Put everything in ${build} into the jar file -->
<jar jarfile="${dist}/lib/jzlib-${version}.jar" basedir="${build}"/>
</target>
<target name="clean"
description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/>
<delete dir="${dist}"/>
<delete dir="${javadoc}"/>
</target>
<target name="javadoc">
<javadoc sourcepath="${src}"
destdir="${javadoc}"
>
<packageset dir="${src}"/>
</javadoc>
</target>
</project>
-35
View File
@@ -1,35 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="JZlib is a re-implementation of zlib in pure Java"
HOMEPAGE="http://www.jcraft.com/jzlib/"
SRC_URI="http://www.jcraft.com/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.4"
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
unpack ${A}
cp "${FILESDIR}/jzlib_build.xml" "${S}/build.xml" || die
mkdir "${S}/src" || die
mv "${S}/com/" "${S}/src/" || die
}
EANT_BUILD_TARGET="dist"
src_install() {
java-pkg_newjar dist/lib/jzlib*.jar jzlib.jar
use doc && java-pkg_dojavadoc javadoc
use source && java-pkg_dosrc src
dodoc README ChangeLog || die
}