summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-01-27 23:30:41 +0000
committerThomas Sachau <tommy@gentoo.org>2009-01-27 23:30:41 +0000
commit10cb8eabe9f411bf5d698a1dcf37a978821b9af0 (patch)
tree041af004711eb902cea3b14f8efbcd092fdab1fe /dev-java/fec
parentSparc stable, Bug #245190. (diff)
downloadhistorical-10cb8eabe9f411bf5d698a1dcf37a978821b9af0.tar.gz
historical-10cb8eabe9f411bf5d698a1dcf37a978821b9af0.tar.bz2
historical-10cb8eabe9f411bf5d698a1dcf37a978821b9af0.zip
Revision bump, add onion-common, include net-libs/fec, update deps
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-java/fec')
-rw-r--r--dev-java/fec/ChangeLog8
-rw-r--r--dev-java/fec/Manifest5
-rw-r--r--dev-java/fec/fec-1.0.3-r1.ebuild (renamed from dev-java/fec/fec-1.0.3.ebuild)49
-rw-r--r--dev-java/fec/files/build.xml29
4 files changed, 35 insertions, 56 deletions
diff --git a/dev-java/fec/ChangeLog b/dev-java/fec/ChangeLog
index 2dc445f6ca08..008bd1dc4f24 100644
--- a/dev-java/fec/ChangeLog
+++ b/dev-java/fec/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/fec
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v 1.2 2009/01/25 23:50:06 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v 1.3 2009/01/27 23:30:41 tommy Exp $
+
+*fec-1.0.3-r1 (27 Jan 2009)
+
+ 27 Jan 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> -files/build.xml,
+ -fec-1.0.3.ebuild, +fec-1.0.3-r1.ebuild:
+ Revision bump, add onion-common, include net-libs/fec, update deps
25 Jan 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+files/libfec8path.patch:
diff --git a/dev-java/fec/Manifest b/dev-java/fec/Manifest
index 06f6c704fe77..73e5505fc0de 100644
--- a/dev-java/fec/Manifest
+++ b/dev-java/fec/Manifest
@@ -1,6 +1,5 @@
-AUX build.xml 803 RMD160 9770373ce4609c19dce92ea54d97da3161ac06d9 SHA1 3cfb77e378bd1c707156651e9e449dae86f0e02b SHA256 f567160bf75635ffc4b6c60ebd9c427d0bd63ae6b9254917d748049a0d9da744
AUX libfec8path.patch 950 RMD160 0df6aad13aeea91116f7a03a8833e4e89bef9773 SHA1 c5936a8e9e738ea74ef3798932e8308b0a13ec31 SHA256 cedc6420e56ad4e707499fd40ae603887a253476c23368058945da64c2ce4081
DIST fec-1.0.3.zip 745195 RMD160 b1b302071c6eb90ce586e01da6c31de4a469acf5 SHA1 35de94815de1a132bc0aa991dcfffd5547226ff4 SHA256 2b23956854800b85a0d2eec11ab0940daec44e4c828b78782686efe8511a7d12
-EBUILD fec-1.0.3.ebuild 1470 RMD160 4cecc1b772cb8c11e3c02d2dd9959b557a68805e SHA1 f580f3b3b8ddc4031f21d01cfb7fa2244c4ded8e SHA256 0cc6cefb0adde90817f94a07a1530b2d9fc170313a6f281eb554f7a836334583
-MISC ChangeLog 464 RMD160 d3235147532be4c2e4d56047a2dfd1f61355791d SHA1 ef6e9342fe9498153dfe3cf92c32e528a0244564 SHA256 60acdeb588a1ccfb4b95810304b500a842f3917830bf2ede452bb98a788f9996
+EBUILD fec-1.0.3-r1.ebuild 1524 RMD160 6ffef0b0b3f9bbdceb6f4713cebc0bc9973d8740 SHA1 2a46af637badd903e5a76bf6276cb9ecbf048a90 SHA256 caf86570ea658d0120f9fda7815469624104a24a54bbde032c09b46380d2d870
+MISC ChangeLog 683 RMD160 7939c0eafa233cf1004d23e1f33391c7821ceb86 SHA1 465947ff59c68d117c03d1cfb4b2f5177a30316e SHA256 edd7522285152f8983886f9f10e001fa60fce8c7c3daf67abaabf03cc466e82b
MISC metadata.xml 262 RMD160 beccaa043c2480f3afbd62f89a4c8ba55ef725f8 SHA1 c05367066b98af14b7089a2122ac09a3fa109281 SHA256 5a48177bba82f308c835efee09c4f2da15fe97eb7bf5a9a9950940dd1b7c95a5
diff --git a/dev-java/fec/fec-1.0.3.ebuild b/dev-java/fec/fec-1.0.3-r1.ebuild
index 404ccef0d31d..791efb0463a6 100644
--- a/dev-java/fec/fec-1.0.3.ebuild
+++ b/dev-java/fec/fec-1.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/fec-1.0.3.ebuild,v 1.1 2009/01/24 18:27:35 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/fec-1.0.3-r1.ebuild,v 1.1 2009/01/27 23:30:41 tommy Exp $
JAVA_PKG_IUSE="doc source"
@@ -10,50 +10,53 @@ DESCRIPTION="Forword error correction libs"
HOMEPAGE="http://www.onionnetworks.com/developers/"
SRC_URI="http://www.onionnetworks.com/downloads/${P}.zip"
-LICENSE="BSD-2"
+LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=virtual/jre-1.4"
+COMMON_DEPEND="dev-java/log4j
+ dev-java/concurrent-util
+ !net-libs/fec"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip
- dev-java/log4j
- dev-java/concurrent-util"
+ ${COMMON_DEPEND}"
+EANT_BUILD_TARGET="jars"
src_unpack() {
unpack ${A}
cd "${S}" || die
- cp "${FILESDIR}"/build.xml src/ || die
- epatch "${FILESDIR}"/libfec8path.patch
sed -i -e 's/build.compiler=jikes/#build.compiler=jikes/g' build.properties || die
+ epatch "${FILESDIR}"/libfec8path.patch
eant clean
cd lib || die
- rm -rf * || die
- java-pkg_jar-from --build-only log4j
- java-pkg_jar-from --build-only concurrent-util concurrent.jar concurrent-jaxed.jar
-
+ rm -v *.jar || die
+ java-pkg_jar-from log4j
+ java-pkg_jar-from concurrent-util concurrent.jar concurrent-jaxed.jar
cd "${S}" || die
unzip -q common-20020926.zip || die
cd common-20020926 || die
- sed -i -e 's/build.compiler=jikes/#build.compiler=jikes/g' build.properties || die
eant clean
- cd lib || die
- rm -f *jar || die
+ cp -r src/com ../src/ || die
}
src_compile() {
- cd common-20020926 || die
- eant
- cp lib/onion-common.jar "${S}"/lib/ || die
- cd "${S}" || die
- eant
- cd src || die
- eant jar $(use_doc)
+ java-pkg-2_src_compile
+ if use x86; then
+ cd "${S}"/src/csrc
+ append-flags -fPIC
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die
+ fi
}
src_install() {
- java-pkg_dojar src/${PN}.jar
- use doc && java-pkg_dojavadoc src/docs
+ java-pkg_newjar lib/onion-${PN}.jar ${PN}.jar
+ use doc && java-pkg_dojavadoc javadoc
use source && java-pkg_dosrc src/com
+ if use x86; then
+ dolib.so ../../lib/fec-linux-x86/lib/linux/x86/libfec{8,16}.so || die
+ fi
}
diff --git a/dev-java/fec/files/build.xml b/dev-java/fec/files/build.xml
deleted file mode 100644
index de128ab68a4e..000000000000
--- a/dev-java/fec/files/build.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="fec" default="jar" basedir=".">
- <target name="init">
- <mkdir dir="build"/>
- <mkdir dir="docs"/>
- </target>
- <target name="compile" depends="init">
- <javac srcdir="." destdir="build">
- <classpath path="../lib/onion-common.jar"/>
- <classpath path="../lib/log4j.jar"/>
- <classpath path="../lib/concurrent-jaxed.jar"/>
- </javac>
- </target>
-
- <target name="jar" depends="compile">
- <jar jarfile="fec.jar" basedir="build"/>
- </target>
-
- <target name="javadoc" depends="init">
- <javadoc destdir="docs">
- <classpath path="../lib/onion-common.jar"/>
- <classpath path="../lib/log4j.jar"/>
- <classpath path="../lib/concurrent-jaxed.jar"/>
- <fileset dir=".">
- <include name="**/*.java"/>
- </fileset>
- </javadoc>
- </target>
-</project>