add intarsys libs
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1139 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
cd204c24c3
commit
5860781de4
5
dev-java/iscwt/Manifest
Normal file
5
dev-java/iscwt/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
AUX build.properties 260 RMD160 eb438289e84f3cd3a69c606dd7a127b72f9675d1 SHA1 e63baf9d9721a1e35cafdb515e6802183140b6ee SHA256 af55a49cd86c5fc3a24518868b979315285d577964ab0304641e80fd1e5ff212
|
||||
AUX build.xml 3489 RMD160 8e70987afa4c7dfd8f5862fee68c48e297ee801c SHA1 a8d02c4c2a8f322199e7ebd631678d372bc4873a SHA256 e4b3d31223498fba854209566eca7ec707ef91ac0924a0d7c6a22f01755c3e44
|
||||
DIST isCWT.5.0.20081218.zip 1929374 RMD160 31480f2aa2ec9452f205747d9c3eabce562c4a78 SHA1 6cae1e4f106aa3f7bdfb137bb06ffaa884fd6e1b SHA256 7dd403c75ebbc00058ea373bea6f300eebaa32cd1ef943a4abefbc9682d86fcf
|
||||
EBUILD iscwt-5.0.20081218.ebuild 1710 RMD160 3049e9d93993cbbc1fc372c7d82c75e206bf0938 SHA1 dd5fc9ee56120487896195e6fbcd6ebf3d47aafb SHA256 f7d00bedfeeac98f29e83f0fd196ae54cf0cf50eaa2760b699cbd470fb5af1bb
|
||||
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
|
12
dev-java/iscwt/files/build.properties
Normal file
12
dev-java/iscwt/files/build.properties
Normal file
@ -0,0 +1,12 @@
|
||||
#where classes are compiled, jars distributed, javadocs created and release created
|
||||
build.dir=build
|
||||
|
||||
#libraries
|
||||
libs.dir=lib
|
||||
swt.jar.name=swt
|
||||
jna.jar.name=jna
|
||||
isrt.jar.name=isrt
|
||||
isnativec.jar.name=isnativec
|
||||
isfreetype.jar.name=isfreetype
|
||||
iscwt.jar.name=iscwt
|
||||
|
102
dev-java/iscwt/files/build.xml
Normal file
102
dev-java/iscwt/files/build.xml
Normal file
@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="iscwt" default="build-jars" basedir="../">
|
||||
<description>
|
||||
This is a window toolkit and basic rendering abstraction layer
|
||||
</description>
|
||||
|
||||
<!-- set global properties for this build -->
|
||||
<property name="user.name" value="intarsys consulting GmbH"/>
|
||||
<property name="iscwt.src.dir" location="src"/>
|
||||
<property name="iscwt.resource.dir" location="resource"/>
|
||||
|
||||
<target name="init">
|
||||
<property file="ant/build.properties" />
|
||||
|
||||
<property name="iscwt.build.root" location="${build.dir}/iscwt"/>
|
||||
<property name="iscwt.build.dir" location="${iscwt.build.root}/build"/>
|
||||
<property name="iscwt.dist.dir" location="${iscwt.build.root}/dist"/>
|
||||
<property name="iscwt.javadoc.dir" location="${iscwt.build.root}/javadoc"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="make-structure" depends="init">
|
||||
<!-- Create the build directory structure used by compile -->
|
||||
<mkdir dir="${iscwt.build.dir}"/>
|
||||
<mkdir dir="${iscwt.dist.dir}"/>
|
||||
<mkdir dir="${iscwt.javadoc.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="clean" depends="init" description="clean up" >
|
||||
<!-- Delete the ${dist} directory trees -->
|
||||
<delete dir="${iscwt.javadoc.dir}"/>
|
||||
<delete dir="${iscwt.dist.dir}"/>
|
||||
<delete dir="${iscwt.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="make-structure" description="iscwt compile" >
|
||||
<!-- Construct classpath -->
|
||||
<path id="iscwt.classpath">
|
||||
<fileset dir="${libs.dir}">
|
||||
<include name="**/${isrt.jar.name}.jar"/>
|
||||
<include name="**/${isnativec.jar.name}.jar"/>
|
||||
<include name="**/${isfreetype.jar.name}.jar"/>
|
||||
<include name="**/${jna.jar.name}.jar"/>
|
||||
<include name="**/${swt.jar.name}.jar"/>
|
||||
</fileset>
|
||||
<pathelement path="${iscwt.build.dir}"/>
|
||||
</path>
|
||||
|
||||
<!-- Compile the java code -->
|
||||
<javac compiler="javac1.4" target="1.4" source="1.4" srcdir="${iscwt.src.dir}" destdir="${iscwt.build.dir}" debug="true">
|
||||
<classpath refid="iscwt.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="build-jars" depends="compile" description="generate the distribution" >
|
||||
|
||||
<jar jarfile="${iscwt.dist.dir}/${iscwt.jar.name}.jar" basedir="${iscwt.build.dir}">
|
||||
<manifest>
|
||||
<attribute name="Built-By" value="${user.name}"/>
|
||||
<attribute name="Main-Class" value=""/>
|
||||
<attribute name="Class-Path" value="${isrt.jar.name}.jar ${isnativec.jar.name}.jar ${isfreetype.jar.name}.jar ${jna.jar.name}.jar ${swt.jar.name}.jar"/>
|
||||
</manifest>
|
||||
<!-- <fileset dir="${iscwt.resource.dir}">
|
||||
<include name="**/*"/>
|
||||
</fileset> -->
|
||||
</jar>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- Javadoc -->
|
||||
<target name="javadoc" depends="make-structure">
|
||||
<javadoc
|
||||
packagenames="de.intarsys.cwt.*"
|
||||
sourcepath="${iscwt.src.dir}"
|
||||
destdir="${iscwt.javadoc.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
windowtitle="cwt API"
|
||||
doctitle="cwt API" >
|
||||
<classpath refid="iscwt.classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<target name="buildZipSrcPackage" depends="javadoc" description="generate build sources zip package" >
|
||||
<zip destfile="${iscwt.dist.dir}/${iscwt.jar.name}-build-src.zip">
|
||||
<fileset dir="..">
|
||||
<include name="iscwt/src/**/*"/>
|
||||
</fileset>
|
||||
<fileset dir="${build.dir}">
|
||||
<include name="iscwt/javadoc/**/*.*"/>
|
||||
</fileset>
|
||||
<fileset dir="..">
|
||||
<include name="iscwt/ant/**/*.*"/>
|
||||
</fileset>
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
67
dev-java/iscwt/iscwt-5.0.20081218.ebuild
Normal file
67
dev-java/iscwt/iscwt-5.0.20081218.ebuild
Normal file
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2009 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="This is a window toolkit and basic rendering abstraction layer."
|
||||
HOMEPAGE="http://jpwgen.berlios.de/"
|
||||
SRC_URI="mirror://sourceforge/jpodrenderer/isCWT.${PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="dev-java/jna
|
||||
dev-java/swt:3.4
|
||||
dev-java/isrt
|
||||
dev-java/isnativec
|
||||
dev-java/isfreetype"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEP}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/distribution
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}"
|
||||
mkdir ant
|
||||
cp "${FILESDIR}/build.xml" "${S}"/ant
|
||||
|
||||
echo > ${S}/ant/build.properties
|
||||
echo "build.dir=${S}/build" >> ${S}/ant/build.properties
|
||||
echo "libs.dir=${S}" >> ${S}/ant/build.properties
|
||||
echo "jna.jar.name=jna" >> ${S}/ant/build.properties
|
||||
echo "swt.jar.name=swt" >> ${S}/ant/build.properties
|
||||
echo "isrt.jar.name=isrt" >> ${S}/ant/build.properties
|
||||
echo "isnativec.jar.name=isnativec" >> ${S}/ant/build.properties
|
||||
echo "isfreetype.jar.name=isfreetype" >> ${S}/ant/build.properties
|
||||
echo "iscwt.jar.name=iscwt" >> ${S}/ant/build.properties
|
||||
|
||||
java-pkg_jarfrom isfreetype
|
||||
java-pkg_jarfrom isnativec
|
||||
java-pkg_jarfrom isrt
|
||||
java-pkg_jarfrom swt-3.4
|
||||
java-pkg_jarfrom jna
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant ${antflags} -buildfile ant/build.xml || die "build failed"
|
||||
|
||||
use doc && eant ${antflags} -buildfile ant/build.xml javadoc || die "doc build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/iscwt/dist/iscwt.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
|
||||
use doc && java-pkg_dojavadoc build/iscwt/javadoc
|
||||
}
|
5
dev-java/iscwt/metadata.xml
Normal file
5
dev-java/iscwt/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>
|
5
dev-java/isfreetype/Manifest
Normal file
5
dev-java/isfreetype/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
AUX build.properties 222 RMD160 be09f8d7da3d16d053bd38aedf805106531abb15 SHA1 45c509bbcf43e4f8d658f667413a8459815a72da SHA256 f6004b991551562109bbaa2d1b27e3b6f1fe07c4c45c84e67ae5d96b811060b2
|
||||
AUX build.xml 3496 RMD160 60aab10c5cd107fea421e5343aadeb7a35f66771 SHA1 69a2ea357e04770afce0dad05608b77b6fbc3a36 SHA256 bf9dec1706b99089e631ac15aefb0bc45c0b70db7c14e2c0d945d0522e85823c
|
||||
DIST isFreetype.5.0.20081218.zip 2212393 RMD160 b16ec1b50dad16b0b248c5f3256fae32bee765e8 SHA1 be9b6d9e5a130e97be7c4eb26396a0c826fc1c76 SHA256 25ffc4cb99ee2dc07f0a8aea40d39e3a2792c7944599578f96b745d37e31c67b
|
||||
EBUILD isfreetype-5.0.20081218.ebuild 1565 RMD160 70a56371d4c3297ba4d1fa03299fa2869dec384c SHA1 8b0fefc8f2e1e95eb6478eb28394ac89121b9ec5 SHA256 0d6c4b429a3d4f011020d8b833bc9f1fcfbe18c94512adcbeb3c54d52239b00f
|
||||
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
|
10
dev-java/isfreetype/files/build.properties
Normal file
10
dev-java/isfreetype/files/build.properties
Normal file
@ -0,0 +1,10 @@
|
||||
#where classes are compiled, jars distributed, javadocs created and release created
|
||||
build.dir=build
|
||||
|
||||
#libraries
|
||||
libs.dir=lib
|
||||
isrt.jar.name=isrt
|
||||
jna.jar.name=jna
|
||||
isnativec.jar.name=isnativec
|
||||
isfreetype.jar.name=isfreetype
|
||||
|
100
dev-java/isfreetype/files/build.xml
Normal file
100
dev-java/isfreetype/files/build.xml
Normal file
@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="isfreetype" default="build-jars" basedir="../">
|
||||
<description>
|
||||
This is a generic native code wrapper
|
||||
</description>
|
||||
|
||||
<!-- set global properties for this build -->
|
||||
<property name="user.name" value="intarsys consulting GmbH"/>
|
||||
<property name="isfreetype.src.dir" location="src"/>
|
||||
<property name="isfreetype.resource.dir" location="resource"/>
|
||||
|
||||
<target name="init">
|
||||
<property file="ant/build.properties" />
|
||||
|
||||
<property name="isfreetype.build.root" location="${build.dir}/isfreetype"/>
|
||||
<property name="isfreetype.build.dir" location="${isfreetype.build.root}/build"/>
|
||||
<property name="isfreetype.dist.dir" location="${isfreetype.build.root}/dist"/>
|
||||
<property name="isfreetype.javadoc.dir" location="${isfreetype.build.root}/javadoc"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="make-structure" depends="init">
|
||||
<!-- Create the build directory structure used by compile -->
|
||||
<mkdir dir="${isfreetype.build.dir}"/>
|
||||
<mkdir dir="${isfreetype.dist.dir}"/>
|
||||
<mkdir dir="${isfreetype.javadoc.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="clean" depends="init" description="clean up" >
|
||||
<!-- Delete the ${dist} directory trees -->
|
||||
<delete dir="${isfreetype.javadoc.dir}"/>
|
||||
<delete dir="${isfreetype.dist.dir}"/>
|
||||
<delete dir="${isfreetype.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="make-structure" description="isfreetype compile" >
|
||||
<!-- Construct classpath -->
|
||||
<path id="isfreetype.classpath">
|
||||
<fileset dir="${libs.dir}">
|
||||
<include name="**/${isrt.jar.name}.jar"/>
|
||||
<include name="**/${isnativec.jar.name}.jar"/>
|
||||
<include name="**/${jna.jar.name}.jar"/>
|
||||
</fileset>
|
||||
<pathelement path="${isfreetype.build.dir}"/>
|
||||
</path>
|
||||
|
||||
<!-- Compile the java code -->
|
||||
<javac compiler="javac1.4" target="1.4" source="1.4" srcdir="${isfreetype.src.dir}" destdir="${isfreetype.build.dir}" debug="true">
|
||||
<classpath refid="isfreetype.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="build-jars" depends="compile" description="generate the distribution" >
|
||||
|
||||
<jar jarfile="${isfreetype.dist.dir}/${isfreetype.jar.name}.jar" basedir="${isfreetype.build.dir}">
|
||||
<manifest>
|
||||
<attribute name="Built-By" value="${user.name}"/>
|
||||
<attribute name="Main-Class" value=""/>
|
||||
<attribute name="Class-Path" value="${isrt.jar.name}.jar ${isnativec.jar.name}.jar ${jna.jar.name}.jar"/>
|
||||
</manifest>
|
||||
<fileset dir="${isfreetype.resource.dir}">
|
||||
<include name="**/*"/>
|
||||
</fileset>
|
||||
</jar>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- Javadoc -->
|
||||
<target name="javadoc" depends="make-structure">
|
||||
<javadoc
|
||||
packagenames="de.intarsys.cwt.freetype.*"
|
||||
sourcepath="${isfreetype.src.dir}"
|
||||
destdir="${isfreetype.javadoc.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
windowtitle="freetype API"
|
||||
doctitle="freetype API" >
|
||||
<classpath refid="isfreetype.classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<target name="buildZipSrcPackage" depends="javadoc" description="generate build sources zip package" >
|
||||
<zip destfile="${isfreetype.dist.dir}/${isfreetype.jar.name}-build-src.zip">
|
||||
<fileset dir="..">
|
||||
<include name="isfreetype/src/**/*"/>
|
||||
</fileset>
|
||||
<fileset dir="${build.dir}">
|
||||
<include name="isfreetype/javadoc/**/*.*"/>
|
||||
</fileset>
|
||||
<fileset dir="..">
|
||||
<include name="isfreetype/ant/**/*.*"/>
|
||||
</fileset>
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
60
dev-java/isfreetype/isfreetype-5.0.20081218.ebuild
Normal file
60
dev-java/isfreetype/isfreetype-5.0.20081218.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2009 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="This is a generic native code wrapper."
|
||||
HOMEPAGE="http://jpwgen.berlios.de/"
|
||||
SRC_URI="mirror://sourceforge/jpodrenderer/isFreetype.${PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="dev-java/jna
|
||||
dev-java/isrt
|
||||
dev-java/isnativec"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEP}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/distribution
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
mkdir -p "${S}"/ant
|
||||
cp "${FILESDIR}/build.xml" "${S}"/ant
|
||||
|
||||
echo > ${S}/${bldprop}/ant/build.properties
|
||||
echo "build.dir=${S}/build" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "libs.dir=${S}" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "isrt.jar.name=isrt" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "jna.jar.name=jna" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "isnativec.jar.name=isnativec" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "isfreetype.jar.name=isfreetype" >> ${S}/${bldprop}/ant/build.properties
|
||||
|
||||
java-pkg_jarfrom isnativec
|
||||
java-pkg_jarfrom isrt
|
||||
java-pkg_jarfrom jna
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant ${antflags} -buildfile ant/build.xml || die "build failed"
|
||||
|
||||
use doc && eant ${antflags} -buildfile ant/build.xml javadoc || die "doc build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/isfreetype/dist/isfreetype.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
|
||||
use doc && java-pkg_dojavadoc build/isfreetype/javadoc
|
||||
}
|
5
dev-java/isfreetype/metadata.xml
Normal file
5
dev-java/isfreetype/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>
|
5
dev-java/isnativec/Manifest
Normal file
5
dev-java/isnativec/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
AUX build.properties 191 RMD160 69c4404209287a66eb23f40dec492e46740ca35e SHA1 32c9e3000c726aedf838f08b3b08ecf103587274 SHA256 43b296f90ad8a00b62269d3e60de7c76d26cf6d848fdad7b356ccb7d1d7952a0
|
||||
AUX build.xml 3372 RMD160 5263c78320284687660bfb778ada731bcba7d50f SHA1 a9a7eb58ea7283c66408d7f34528196e4970fcf8 SHA256 2d8ae68b666faa1998f779234ecb2f4e92add73270f43757772e3514f9057510
|
||||
DIST isNative.5.0.20081218.zip 919745 RMD160 263408ab23b78802b945c5eccc708d2af92e6926 SHA1 5518a601244e3c4f36269975180b5c74e41ab5ac SHA256 a0f592ba2c82c8a97d6f00b247f1783d868533aabb322b16430a051a16f4220d
|
||||
EBUILD isnativec-5.0.20081218.ebuild 1430 RMD160 0bc5729c8ab6243353f11d634159e832483141d4 SHA1 fa1f6025270fdf1d7be2313bfc18749cf3ce87ca SHA256 edcd6ca7eed5a0eb67c7c595b4afdbf33da635b2093528b6cef174e9d5f6c5b6
|
||||
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
|
9
dev-java/isnativec/files/build.properties
Normal file
9
dev-java/isnativec/files/build.properties
Normal file
@ -0,0 +1,9 @@
|
||||
#where classes are compiled, jars distributed, javadocs created and release created
|
||||
build.dir=build
|
||||
|
||||
#libraries
|
||||
libs.dir=lib
|
||||
isrt.jar.name=isrt
|
||||
jna.jar.name=jna
|
||||
isnativec.jar.name=isnativec
|
||||
|
99
dev-java/isnativec/files/build.xml
Normal file
99
dev-java/isnativec/files/build.xml
Normal file
@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="isnativec" default="build-jars" basedir="../">
|
||||
<description>
|
||||
This is a generic native code wrapper
|
||||
</description>
|
||||
|
||||
<!-- set global properties for this build -->
|
||||
<property name="user.name" value="intarsys consulting GmbH"/>
|
||||
<property name="isnativec.src.dir" location="src"/>
|
||||
<property name="isnativec.resource.dir" location="resource"/>
|
||||
|
||||
<target name="init">
|
||||
<property file="ant/build.properties" />
|
||||
|
||||
<property name="isnativec.build.root" location="${build.dir}/isnativec"/>
|
||||
<property name="isnativec.build.dir" location="${isnativec.build.root}/build"/>
|
||||
<property name="isnativec.dist.dir" location="${isnativec.build.root}/dist"/>
|
||||
<property name="isnativec.javadoc.dir" location="${isnativec.build.root}/javadoc"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="make-structure" depends="init">
|
||||
<!-- Create the build directory structure used by compile -->
|
||||
<mkdir dir="${isnativec.build.dir}"/>
|
||||
<mkdir dir="${isnativec.dist.dir}"/>
|
||||
<mkdir dir="${isnativec.javadoc.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="clean" depends="init" description="clean up" >
|
||||
<!-- Delete the ${dist} directory trees -->
|
||||
<delete dir="${isnativec.javadoc.dir}"/>
|
||||
<delete dir="${isnativec.dist.dir}"/>
|
||||
<delete dir="${isnativec.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="make-structure" description="isnativec compile" >
|
||||
<!-- Construct classpath -->
|
||||
<path id="isnativec.classpath">
|
||||
<fileset dir="${libs.dir}">
|
||||
<include name="**/${isrt.jar.name}.jar"/>
|
||||
<include name="**/${jna.jar.name}.jar"/>
|
||||
</fileset>
|
||||
<pathelement path="${isnativec.build.dir}"/>
|
||||
</path>
|
||||
|
||||
<!-- Compile the java code -->
|
||||
<javac compiler="javac1.4" target="1.4" source="1.4" srcdir="${isnativec.src.dir}" destdir="${isnativec.build.dir}" debug="true">
|
||||
<classpath refid="isnativec.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="build-jars" depends="compile" description="generate the distribution" >
|
||||
|
||||
<jar jarfile="${isnativec.dist.dir}/${isnativec.jar.name}.jar" basedir="${isnativec.build.dir}">
|
||||
<manifest>
|
||||
<attribute name="Built-By" value="${user.name}"/>
|
||||
<attribute name="Main-Class" value=""/>
|
||||
<attribute name="Class-Path" value="${isrt.jar.name}.jar ${jna.jar.name}.jar"/>
|
||||
</manifest>
|
||||
<fileset dir="${isnativec.resource.dir}">
|
||||
<include name="**/*"/>
|
||||
</fileset>
|
||||
</jar>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- Javadoc -->
|
||||
<target name="javadoc" depends="make-structure">
|
||||
<javadoc
|
||||
packagenames="de.intarsys.nativec.*"
|
||||
sourcepath="${isnativec.src.dir}"
|
||||
destdir="${isnativec.javadoc.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
windowtitle="nativec API"
|
||||
doctitle="nativec API" >
|
||||
<classpath refid="isnativec.classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<target name="buildZipSrcPackage" depends="javadoc" description="generate build sources zip package" >
|
||||
<zip destfile="${isnativec.dist.dir}/${isnativec.jar.name}-build-src.zip">
|
||||
<fileset dir="..">
|
||||
<include name="isnativec/src/**/*"/>
|
||||
</fileset>
|
||||
<fileset dir="${build.dir}">
|
||||
<include name="isnativec/javadoc/**/*.*"/>
|
||||
</fileset>
|
||||
<fileset dir="..">
|
||||
<include name="isnativec/ant/**/*.*"/>
|
||||
</fileset>
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
57
dev-java/isnativec/isnativec-5.0.20081218.ebuild
Normal file
57
dev-java/isnativec/isnativec-5.0.20081218.ebuild
Normal file
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2009 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="This is a generic native code wrapper."
|
||||
HOMEPAGE="http://jpwgen.berlios.de/"
|
||||
SRC_URI="mirror://sourceforge/jpodrenderer/isNative.${PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="dev-java/jna
|
||||
dev-java/isrt"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEP}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/distribution
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
mkdir -p "${S}"/ant
|
||||
cp "${FILESDIR}/build.xml" "${S}"/ant
|
||||
|
||||
echo > ${S}/${bldprop}/ant/build.properties
|
||||
echo "build.dir=${S}/build" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "libs.dir=${S}" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "isrt.jar.name=isrt" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "jna.jar.name=jna" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "isnativec.jar.name=isnativec" >> ${S}/${bldprop}/ant/build.properties
|
||||
|
||||
java-pkg_jarfrom isrt
|
||||
java-pkg_jarfrom jna
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant ${antflags} -buildfile ant/build.xml || die "build failed"
|
||||
|
||||
use doc && eant ${antflags} -buildfile ant/build.xml javadoc || die "doc build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/isnativec/dist/isnativec.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
|
||||
use doc && java-pkg_dojavadoc build/isnativec/javadoc
|
||||
}
|
5
dev-java/isnativec/metadata.xml
Normal file
5
dev-java/isnativec/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>
|
5
dev-java/isrt/Manifest
Normal file
5
dev-java/isrt/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
AUX build.properties 145 RMD160 b00640e0320963377113f2bd540274d69f5ab3d5 SHA1 bca99ca1390f5b47b3bcc822587f805a085d86c0 SHA256 e5e8e3b2f116ef781353ab9482fb90193d9ed6ca0ef2da4080857fef7d08955f
|
||||
AUX build.xml 3085 RMD160 87ee77f5adc81996ab54da297fbf1d1f4ca9f334 SHA1 2642f9877f270c33f5ab37ec4a2a4cb6d0c12a02 SHA256 613539806714f2dc5a1a4986335239240d4a9295f6519858556025828f3ac4f6
|
||||
DIST isrt.4.5.20081218.zip 2059136 RMD160 39125610de63eb83fff196e0de2852aa0797883f SHA1 327845edd1d1c7454eedabee2680cbed267bd66b SHA256 f3b6bfae76c6651c130473254e571013aa2d9fdeaa700d04f8cde4828dcb5745
|
||||
EBUILD isrt-4.5.20081218.ebuild 1174 RMD160 d2a1b5b3c42446f6d7136a908d93ae657e4794b5 SHA1 c81be9480828821d892a44f209fdfe7ef2148cb2 SHA256 7c8d3508b3356117dbca5f5d0de9cfd9c1dd89af21a3f6721db514cdf27dc67e
|
||||
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
|
7
dev-java/isrt/files/build.properties
Normal file
7
dev-java/isrt/files/build.properties
Normal file
@ -0,0 +1,7 @@
|
||||
#where classes are compiled, jars distributed, javadocs created and release created
|
||||
build.dir=build
|
||||
|
||||
#libraries
|
||||
libs.dir=lib
|
||||
isrt.jar.name=isrt
|
||||
|
95
dev-java/isrt/files/build.xml
Normal file
95
dev-java/isrt/files/build.xml
Normal file
@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="isrt" default="build-jars" basedir="../">
|
||||
<description>
|
||||
The basic runtime tools and interfaces for intarsys components
|
||||
</description>
|
||||
|
||||
<!-- set global properties for this build -->
|
||||
<property name="user.name" value="intarsys consulting GmbH"/>
|
||||
<property name="isrt.src.dir" location="src"/>
|
||||
|
||||
<target name="init">
|
||||
<property file="ant/build.properties" />
|
||||
|
||||
<property name="isrt.build.root" location="${build.dir}/isrt"/>
|
||||
<property name="isrt.build.dir" location="${isrt.build.root}/build"/>
|
||||
<property name="isrt.dist.dir" location="${isrt.build.root}/dist"/>
|
||||
<property name="isrt.javadoc.dir" location="${isrt.build.root}/javadoc"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="make-structure" depends="init">
|
||||
<!-- Create the build directory structure used by compile -->
|
||||
<mkdir dir="${isrt.build.dir}"/>
|
||||
<mkdir dir="${isrt.dist.dir}"/>
|
||||
<mkdir dir="${isrt.javadoc.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="clean" depends="init" description="clean up" >
|
||||
<!-- Delete the ${dist} directory trees -->
|
||||
<delete dir="${isrt.javadoc.dir}"/>
|
||||
<delete dir="${isrt.dist.dir}"/>
|
||||
<delete dir="${isrt.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="make-structure" description="isrt compile" >
|
||||
<!-- Construct classpath -->
|
||||
<path id="isrt.classpath">
|
||||
<!-- <fileset dir="${libs.dir}">
|
||||
<include name="**/${isrt.jar.name}.jar"/>
|
||||
<include name="**/${jna.jar.name}.jar"/>
|
||||
</fileset> -->
|
||||
<pathelement path="${isrt.build.dir}"/>
|
||||
</path>
|
||||
|
||||
<!-- Compile the java code -->
|
||||
<javac compiler="javac1.4" target="1.4" source="1.4" srcdir="${isrt.src.dir}" destdir="${isrt.build.dir}" debug="true">
|
||||
<classpath refid="isrt.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="build-jars" depends="compile" description="generate the distribution" >
|
||||
|
||||
<jar jarfile="${isrt.dist.dir}/${isrt.jar.name}.jar" basedir="${isrt.build.dir}">
|
||||
<manifest>
|
||||
<attribute name="Built-By" value="${user.name}"/>
|
||||
<attribute name="Main-Class" value=""/>
|
||||
<!-- <attribute name="Class-Path" value="${isrt.jar.name}.jar ${jna.jar.name}.jar"/> -->
|
||||
</manifest>
|
||||
</jar>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- Javadoc -->
|
||||
<target name="javadoc" depends="make-structure">
|
||||
<javadoc
|
||||
packagenames="de.intarsys.tools.*"
|
||||
sourcepath="${isrt.src.dir}"
|
||||
destdir="${isrt.javadoc.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
windowtitle="tools API"
|
||||
doctitle="tools API" >
|
||||
<classpath refid="isrt.classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<target name="buildZipSrcPackage" depends="javadoc" description="generate build sources zip package" >
|
||||
<zip destfile="${isrt.dist.dir}/${isrt.jar.name}-build-src.zip">
|
||||
<fileset dir="..">
|
||||
<include name="isrt/src/**/*"/>
|
||||
</fileset>
|
||||
<fileset dir="${build.dir}">
|
||||
<include name="isrt/javadoc/**/*.*"/>
|
||||
</fileset>
|
||||
<fileset dir="..">
|
||||
<include name="isrt/ant/**/*.*"/>
|
||||
</fileset>
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
49
dev-java/isrt/isrt-4.5.20081218.ebuild
Normal file
49
dev-java/isrt/isrt-4.5.20081218.ebuild
Normal file
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2009 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 basic runtime tools and interfaces for intarsys components."
|
||||
HOMEPAGE="http://jpwgen.berlios.de/"
|
||||
SRC_URI="mirror://sourceforge/jpodrenderer/isrt.${PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/distribution
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}"
|
||||
mkdir ant
|
||||
cp "${FILESDIR}/build.xml" "${S}"/ant
|
||||
|
||||
echo > ${S}/ant/build.properties
|
||||
echo "build.dir=${S}/build" >> ${S}/ant/build.properties
|
||||
echo "libs.dir=${S}" >> ${S}/ant/build.properties
|
||||
echo "isrt.jar.name=isrt" >> ${S}/ant/build.properties
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant ${antflags} -buildfile ant/build.xml || die "build failed"
|
||||
|
||||
use doc && eant ${antflags} -buildfile ant/build.xml javadoc || die "doc build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/isrt/dist/isrt.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
|
||||
use doc && java-pkg_dojavadoc build/isrt/javadoc
|
||||
}
|
5
dev-java/isrt/metadata.xml
Normal file
5
dev-java/isrt/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