Initial version
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@384 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
497c589c4c
commit
ecde7402da
4
dev-java/jpwgen/Manifest
Normal file
4
dev-java/jpwgen/Manifest
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
AUX build.xml 1013 RMD160 b11a4d3128f82f5001e2f0de870ef166c010f4e6 SHA1 c894d13de9f6d3ea1a4dc605f0db2d1716873085 SHA256 f47e8db56c9f63893acb9cb9641353b343087fbc3603f0b92af9a212b0a302e5
|
||||||
|
DIST jpwgen-1.0.3-sources.jar 187827 RMD160 09805a67679e88bab58fe0ea667dc46f6d70844e SHA1 68331a4fec35fbcbcc6f3c786b778fcdbb0a367e SHA256 ab3b82b0b35b784e527c272fc7a731f971090317a015a627e4d791244803e6a2
|
||||||
|
EBUILD jpwgen-1.0.3.ebuild 1038 RMD160 2ed6257de7af9ccb8ff60dcd5a0db715ecc15bc8 SHA1 ef23c7e0cd6a76f19cc79a26476f256cd33f4ff2 SHA256 93da5f9622a84b48dfda72415d7d06c5109e32ec8e43fcc7eb0a16ff08f853d3
|
||||||
|
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
|
41
dev-java/jpwgen/files/build.xml
Normal file
41
dev-java/jpwgen/files/build.xml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<project name="jpwgen" default="jar">
|
||||||
|
<!-- some properties -->
|
||||||
|
<property name="src" value="src" />
|
||||||
|
<property name="build" value="build" />
|
||||||
|
<property name="dist" value="dist"/>
|
||||||
|
|
||||||
|
<property name="jarfile" value="${ant.project.name}.jar"/>
|
||||||
|
|
||||||
|
<property file="build.properties"/>
|
||||||
|
|
||||||
|
<!-- init -->
|
||||||
|
<target name="init">
|
||||||
|
<tstamp/>
|
||||||
|
<mkdir dir="${dist}"/>
|
||||||
|
<mkdir dir="${build}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- compile everything -->
|
||||||
|
<target name="compile" depends="init">
|
||||||
|
<javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- build the jar file -->
|
||||||
|
<target name="jar" depends="compile">
|
||||||
|
<jar jarfile="${dist}/${jarfile}" basedir="${build}">
|
||||||
|
<fileset dir="${src}">
|
||||||
|
<include name="**/*.png"/>
|
||||||
|
<include name="**/*.ucd"/>
|
||||||
|
<include name="**/*.properties"/>
|
||||||
|
</fileset>
|
||||||
|
</jar>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- clean up -->
|
||||||
|
<target name="clean">
|
||||||
|
<delete dir="${build}"/>
|
||||||
|
<delete dir="${dist}"/>
|
||||||
|
</target>
|
||||||
|
</project>
|
48
dev-java/jpwgen/jpwgen-1.0.3.ebuild
Normal file
48
dev-java/jpwgen/jpwgen-1.0.3.ebuild
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# Copyright 1999-2007 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="source"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-ant-2
|
||||||
|
|
||||||
|
DESCRIPTION="The 'jpwgen' program is a Java-based password generator whose functionality resembles the popular 'pwgen' program."
|
||||||
|
HOMEPAGE="http://jpwgen.berlios.de/"
|
||||||
|
SRC_URI="morror://berlios/jpwgen/jpwgen-${PV}-sources.jar"
|
||||||
|
|
||||||
|
LICENSE="W3C"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
COMMON_DEP="dev-java/commons-logging
|
||||||
|
dev-java/commons-cli"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
RDEPEND=">=virtual/jre-1.5
|
||||||
|
${COMMON_DEP}"
|
||||||
|
DEPEND=">=virtual/jdk-1.5
|
||||||
|
${COMMON_DEP}
|
||||||
|
app-arch/unzip"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
|
||||||
|
cp "${FILESDIR}/build.xml" "${S}"
|
||||||
|
|
||||||
|
cd "${S}"
|
||||||
|
|
||||||
|
mkdir src
|
||||||
|
mv de src
|
||||||
|
echo "classpath=$(java-pkg_getjars commons-cli-1,commons-logging)" > "${S}"/build.properties
|
||||||
|
}
|
||||||
|
|
||||||
|
EANT_DOC_TARGET=""
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
java-pkg_dojar "${S}"/dist/jpwgen.jar
|
||||||
|
java-pkg_dolauncher ${PN} --main de.rrze.idmone.utils.jpwgen.PwGenerator
|
||||||
|
|
||||||
|
use source && java-pkg_dosrc "${S}"/src/*
|
||||||
|
}
|
5
dev-java/jpwgen/metadata.xml
Normal file
5
dev-java/jpwgen/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>java</herd>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user