dev-java/jal: punt old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Patrice Clement
2017-03-18 00:14:40 +01:00
parent d8ac166a93
commit f314c71033
4 changed files with 0 additions and 114 deletions

View File

@@ -1,2 +1 @@
DIST jal-20031117-src.tar.gz 48793 SHA256 2f1bfd0c9b56a362da8fa5b61af3fd0722bb80e5b89fb12291b5a40e9f21db75 SHA512 0cb6cbd5e80d38dfbf57417b756dbc3bdddb2a28c4cbec292799ee71ac86cff3121f1e09e86f976f6562dafac54835bdd58780e4f1ffe733897b6d6ef053f95e WHIRLPOOL 54e9b1a005e2b10f62bcfd43bf1cf512fc0d0479ad113cfc57e3188f90b23184e1d6340ca56736faf7f309fc88196498652d459c75cbca7e2f76889ed3ac1568
DIST jal-20031117.tar.gz 48793 SHA256 2f1bfd0c9b56a362da8fa5b61af3fd0722bb80e5b89fb12291b5a40e9f21db75 SHA512 0cb6cbd5e80d38dfbf57417b756dbc3bdddb2a28c4cbec292799ee71ac86cff3121f1e09e86f976f6562dafac54835bdd58780e4f1ffe733897b6d6ef053f95e WHIRLPOOL 54e9b1a005e2b10f62bcfd43bf1cf512fc0d0479ad113cfc57e3188f90b23184e1d6340ca56736faf7f309fc88196498652d459c75cbca7e2f76889ed3ac1568

View File

@@ -1,18 +0,0 @@
diff -uprN jal-20031117.orig/build.xml jal-20031117/build.xml
--- jal-20031117.orig/build.xml 2004-11-22 17:00:41.200663880 +0100
+++ jal-20031117/build.xml 2004-11-22 20:00:39.322099904 +0100
@@ -16,11 +16,13 @@
debug="on"
optimize="on"
destdir="${build}"
+ source="1.4"
+ target="1.4"
/>
</target>
<target name="jar" depends="compile">
- <jar jarfile="jal-${version}.jar"
+ <jar jarfile="jal.jar"
basedir="${build}"
/>
</target>

View File

@@ -1,45 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="Partial port of the C++ Standard Template Library"
SRC_URI="http://vigna.dsi.unimi.it/jal/${P}-src.tar.gz"
HOMEPAGE="http://vigna.dsi.unimi.it/jal/"
LICENSE="HPND"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc source"
RDEPEND=">=virtual/jre-1.4"
DEPEND=">=virtual/jdk-1.4
dev-java/ant-core
source? ( app-arch/zip )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/buildxml.patch
# we have to generate the sources first
./instantiate -n byte bytes
./instantiate -n short shorts
./instantiate -n char chars
./instantiate -n int ints
./instantiate -n long longs
./instantiate -n float floats
./instantiate -n double doubles
./instantiate Object objects
./instantiate String strings
mkdir -p src/jal
mv bytes shorts chars ints longs floats doubles objects strings src/jal
}
src_install() {
java-pkg_dojar ${PN}.jar
use doc && java-pkg_dojavadoc docs
use source && java-pkg_dosrc "${S}"/src/jal
}

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Partial port of the C++ Standard Template Library"
HOMEPAGE="http://vigna.dsi.unimi.it/jal/"
SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz"
LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
CDEPEND="dev-java/ant-core:0"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.6
source? ( app-arch/zip )"
S="${WORKDIR}/${P}"
JAVA_GENTOO_CLASSPATH="ant-core"
JAVA_SRC_DIR="src/jal"
java_prepare() {
# Generate sources.
./instantiate -n byte bytes || die
./instantiate -n short shorts || die
./instantiate -n char chars || die
./instantiate -n int ints || die
./instantiate -n long longs || die
./instantiate -n float floats || die
./instantiate -n double doubles || die
./instantiate Object objects || die
./instantiate String strings || die
mkdir -p src/jal || die
mv bytes shorts chars ints longs floats doubles objects strings src/jal || die
}