pre git
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@3049 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
</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">
|
||||
<javac compiler="javac1.6" target="1.6" source="1.6" srcdir="${isnativec.src.dir}" destdir="${isnativec.build.dir}" debug="true">
|
||||
<classpath refid="isnativec.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
JAVA_PKG_IUSE="source doc"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="isrt,jna"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="This is a generic native code wrapper."
|
||||
HOMEPAGE="http://opensource.intarsys.de/"
|
||||
SRC_URI="mirror://sourceforge/jpodrenderer/isNative.${PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/jna:0
|
||||
dev-java/isrt:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEP}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/distribution
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/build.* "${S}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/isnativec/dist/isnativec.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
|
||||
use doc && java-pkg_dojavadoc build/isnativec/javadoc
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
JAVA_PKG_IUSE="source doc"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="isrt,jna"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="This is a generic native code wrapper."
|
||||
HOMEPAGE="http://opensource.intarsys.de/"
|
||||
SRC_URI="mirror://sourceforge/jpodrenderer/isNative.${PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/jna:0
|
||||
dev-java/isrt:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEP}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/distribution
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/build.* "${S}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/isnativec/dist/isnativec.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
|
||||
use doc && java-pkg_dojavadoc build/isnativec/javadoc
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="source doc"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
@@ -29,7 +29,7 @@ DEPEND=">=virtual/jdk-1.5
|
||||
|
||||
S="${WORKDIR}"/distribution
|
||||
|
||||
src_prepare() {
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/build.* "${S}" || die
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user