diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2007-05-12 00:44:00 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2007-05-12 00:44:00 +0000 |
commit | cd3d295efdea7765d383e8df0b436c5d267df77e (patch) | |
tree | 219fc086c5a4ad95031afb96c19dcf93bbd926c3 /sci-libs/libsvm | |
parent | Remove openpbs and old mpiexec mask, because I pulled openpbs. (diff) | |
download | historical-cd3d295efdea7765d383e8df0b436c5d267df77e.tar.gz historical-cd3d295efdea7765d383e8df0b436c5d267df77e.tar.bz2 historical-cd3d295efdea7765d383e8df0b436c5d267df77e.zip |
Migrate to gen-2 java eclasses
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sci-libs/libsvm')
-rw-r--r-- | sci-libs/libsvm/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/libsvm/Manifest | 15 | ||||
-rw-r--r-- | sci-libs/libsvm/files/digest-libsvm-2.81-r1 | 3 | ||||
-rw-r--r-- | sci-libs/libsvm/libsvm-2.81-r1.ebuild | 69 |
4 files changed, 91 insertions, 6 deletions
diff --git a/sci-libs/libsvm/ChangeLog b/sci-libs/libsvm/ChangeLog index 564ca5e76bda..6fb53eca4574 100644 --- a/sci-libs/libsvm/ChangeLog +++ b/sci-libs/libsvm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/libsvm -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/ChangeLog,v 1.2 2006/08/01 03:41:25 nichoj Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/ChangeLog,v 1.3 2007/05/12 00:44:00 ali_bush Exp $ + +*libsvm-2.81-r1 (12 May 2007) + + 12 May 2007; Alistair John Bush <ali_bush@gentoo.org> + +libsvm-2.81-r1.ebuild: + Migrate to generation 2 java eclasses 01 Aug 2006; Joshua Nichols <nichoj@gentoo.org> libsvm-2.81.ebuild: Changed deprecated dojar to java-pkg_dojar, bug #108517 diff --git a/sci-libs/libsvm/Manifest b/sci-libs/libsvm/Manifest index cc2b372285f1..3086bc2e79e3 100644 --- a/sci-libs/libsvm/Manifest +++ b/sci-libs/libsvm/Manifest @@ -1,12 +1,16 @@ DIST libsvm-2.81.tar.gz 447834 RMD160 4a08a476d58695d154accf36a9ebef8ffbbc98ed SHA1 67a12dd136b03521187621201b2f520f984cf04f SHA256 a94d2716a9cec08e11b12dd05a4de66df0993b1d5506e445304457c65c374247 +EBUILD libsvm-2.81-r1.ebuild 1509 RMD160 5221d5c09def0ebe7a136211840c063e42a88851 SHA1 5f9332cd851eb3f9c9d35a08d80e06ce236809bb SHA256 a5c6918da26f1b133f36aa7837da679f3c9b9c1eff6a11f4dcea4637b81bbe08 +MD5 ad2d7ba77ac9b0b5ce8e91cb54a49ff1 libsvm-2.81-r1.ebuild 1509 +RMD160 5221d5c09def0ebe7a136211840c063e42a88851 libsvm-2.81-r1.ebuild 1509 +SHA256 a5c6918da26f1b133f36aa7837da679f3c9b9c1eff6a11f4dcea4637b81bbe08 libsvm-2.81-r1.ebuild 1509 EBUILD libsvm-2.81.ebuild 1372 RMD160 56fb26abc5eb13e0d6335eb351596a07b4edd1cf SHA1 aeec8799a4a44f3a980691b224d640f1b4b8b182 SHA256 e7f68730531ac0bd5eaddfbe693f6b50ffa43b0aea181b6901c825aa2bd273eb MD5 84cac3c17cb140e8bd3bbf468ea5d239 libsvm-2.81.ebuild 1372 RMD160 56fb26abc5eb13e0d6335eb351596a07b4edd1cf libsvm-2.81.ebuild 1372 SHA256 e7f68730531ac0bd5eaddfbe693f6b50ffa43b0aea181b6901c825aa2bd273eb libsvm-2.81.ebuild 1372 -MISC ChangeLog 491 RMD160 703792d1e0185a6a25a1a09c541d73d79b30d4e5 SHA1 3b500c3b2c6c310a10d549f0bd0f5d73d5caf492 SHA256 8f4acc6cf1475a25aae4f2ee781ee877db50198fb315bf36a7f3ffde9dd6a555 -MD5 bbf204d934e131e518a0cba5d3f82dc7 ChangeLog 491 -RMD160 703792d1e0185a6a25a1a09c541d73d79b30d4e5 ChangeLog 491 -SHA256 8f4acc6cf1475a25aae4f2ee781ee877db50198fb315bf36a7f3ffde9dd6a555 ChangeLog 491 +MISC ChangeLog 647 RMD160 00596f4e7a4521010cebddb66b6f38b99cdac058 SHA1 b5481b424b76860ba713a7164cfa6b18f5f3de3b SHA256 512dab4a7bfdb89a64e9b6a78316bb4d70f38610902a7ddde09402f91cb61c67 +MD5 5fc5e5073edcd3620e5c832394e032a9 ChangeLog 647 +RMD160 00596f4e7a4521010cebddb66b6f38b99cdac058 ChangeLog 647 +SHA256 512dab4a7bfdb89a64e9b6a78316bb4d70f38610902a7ddde09402f91cb61c67 ChangeLog 647 MISC metadata.xml 221 RMD160 b72d8e0df2b2daece5fcb2c5f684e90e10370f2f SHA1 58771ce3377eeee2ebf1bb8acdeaa0ba169e9342 SHA256 d253ce582fe350599cd2fa44bea0a00410ab63bf68129dafdb4cdfdf7a180ecf MD5 3ff31b5479b2a0244f5711fff3155aed metadata.xml 221 RMD160 b72d8e0df2b2daece5fcb2c5f684e90e10370f2f metadata.xml 221 @@ -14,3 +18,6 @@ SHA256 d253ce582fe350599cd2fa44bea0a00410ab63bf68129dafdb4cdfdf7a180ecf metadata MD5 f0fd69b03c81bf2af3da9b618e47c320 files/digest-libsvm-2.81 235 RMD160 4f8441306287534bffe294728b71cbbd54467980 files/digest-libsvm-2.81 235 SHA256 db069969cc1caf27b8fe385272f085de4fcc9ef553cfd9d31caaa2896ca6881e files/digest-libsvm-2.81 235 +MD5 f0fd69b03c81bf2af3da9b618e47c320 files/digest-libsvm-2.81-r1 235 +RMD160 4f8441306287534bffe294728b71cbbd54467980 files/digest-libsvm-2.81-r1 235 +SHA256 db069969cc1caf27b8fe385272f085de4fcc9ef553cfd9d31caaa2896ca6881e files/digest-libsvm-2.81-r1 235 diff --git a/sci-libs/libsvm/files/digest-libsvm-2.81-r1 b/sci-libs/libsvm/files/digest-libsvm-2.81-r1 new file mode 100644 index 000000000000..a097ce7ebbbb --- /dev/null +++ b/sci-libs/libsvm/files/digest-libsvm-2.81-r1 @@ -0,0 +1,3 @@ +MD5 2346a02e2e2c8db29696f6695b35a547 libsvm-2.81.tar.gz 447834 +RMD160 4a08a476d58695d154accf36a9ebef8ffbbc98ed libsvm-2.81.tar.gz 447834 +SHA256 a94d2716a9cec08e11b12dd05a4de66df0993b1d5506e445304457c65c374247 libsvm-2.81.tar.gz 447834 diff --git a/sci-libs/libsvm/libsvm-2.81-r1.ebuild b/sci-libs/libsvm/libsvm-2.81-r1.ebuild new file mode 100644 index 000000000000..cdcdf198fcb3 --- /dev/null +++ b/sci-libs/libsvm/libsvm-2.81-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/libsvm-2.81-r1.ebuild,v 1.1 2007/05/12 00:44:00 ali_bush Exp $ + +inherit toolchain-funcs python java-pkg-opt-2 + +DESCRIPTION="Library for Support Vector Machines" +HOMEPAGE="http://www.csie.ntu.edu.tw/~cjlin/libsvm/" +SRC_URI="http://www.csie.ntu.edu.tw/~cjlin/libsvm/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="python java" + +DEPEND="java? ( >=virtual/jdk-1.4 )" +#RDEPEND="" + +src_compile() { + emake CXXC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" || die + + sed -i -e 's@\.\./@/usr/bin/@g' tools/*.py || die + + if use python ; then + cd python + python_version || die + emake CC="$(tc-getCXX)" \ + CFLAGS="${CXXFLAGS} -I/usr/include/python${PYVER} -I.." all || die + cd - + fi + + if use java ; then + cd java + local JAVAC_FLAGS="$(java-pkg_javac-args)" + sed -i -e "s/JAVAC_FLAGS =/JAVAC_FLAGS=${JAVAC_FLAGS}/g" Makefile || die + emake || die + cd - + fi +} + +src_install() { + dobin svm-train svm-predict svm-scale || die + dohtml FAQ.html + dodoc README + + cd tools + insinto /usr/share/doc/${PF}/tools + doins easy.py grid.py subset.py + docinto tools + dodoc README + cd - + + if use python ; then + cd python + python_version || die + insinto /usr/lib/python${PYVER}/site-packages + doins svmc.so svm.py || die + docinto python + dodoc README + cd - + fi + + if use java ; then + cd java + java-pkg_dojar libsvm.jar + dohtml test_applet.html + cd - + fi +} |