diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-12-25 17:15:25 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-12-25 17:15:25 +0000 |
commit | 47d1b229113ce3f6618e25b64d8f757b6ce754de (patch) | |
tree | 0b166abe22b7d24603b06f23c949a897a22831d8 /sci-misc/tinysvm | |
parent | set ECVS_MODULE (diff) | |
download | historical-47d1b229113ce3f6618e25b64d8f757b6ce754de.tar.gz historical-47d1b229113ce3f6618e25b64d8f757b6ce754de.tar.bz2 historical-47d1b229113ce3f6618e25b64d8f757b6ce754de.zip |
Added perl IUSE flag.
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'sci-misc/tinysvm')
-rw-r--r-- | sci-misc/tinysvm/ChangeLog | 7 | ||||
-rw-r--r-- | sci-misc/tinysvm/Manifest | 4 | ||||
-rw-r--r-- | sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 | 1 | ||||
-rw-r--r-- | sci-misc/tinysvm/tinysvm-0.09-r1.ebuild | 75 |
4 files changed, 85 insertions, 2 deletions
diff --git a/sci-misc/tinysvm/ChangeLog b/sci-misc/tinysvm/ChangeLog index 8cad8e9a0c8b..3df82193834f 100644 --- a/sci-misc/tinysvm/ChangeLog +++ b/sci-misc/tinysvm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-misc/tinysvm # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v 1.1 2005/05/22 16:28:49 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v 1.2 2005/12/25 17:15:25 usata Exp $ + +*tinysvm-0.09-r1 (25 Dec 2005) + + 25 Dec 2005; Mamoru KOMACHI <usata@gentoo.org> +tinysvm-0.09-r1.ebuild: + Added perl USE flag. *tinysvm-0.09 (22 May 2005) diff --git a/sci-misc/tinysvm/Manifest b/sci-misc/tinysvm/Manifest index 4623adf0af92..7d7c93eba71b 100644 --- a/sci-misc/tinysvm/Manifest +++ b/sci-misc/tinysvm/Manifest @@ -1,4 +1,6 @@ MD5 72c6c50b50af5b1299dc2e8232a41697 tinysvm-0.09.ebuild 730 MD5 3ff31b5479b2a0244f5711fff3155aed metadata.xml 221 -MD5 38b41353d387c0c05233e0d336a63493 ChangeLog 340 +MD5 2a286d6465a6602cec43d3414db827f7 ChangeLog 470 +MD5 db1f660e9bc1c0af7d2ad5c4337be91e tinysvm-0.09-r1.ebuild 1569 +MD5 3680ed9be508eeea6d4c6779ac6ad828 files/digest-tinysvm-0.09-r1 64 MD5 3680ed9be508eeea6d4c6779ac6ad828 files/digest-tinysvm-0.09 64 diff --git a/sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 b/sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 new file mode 100644 index 000000000000..7aa7e4442323 --- /dev/null +++ b/sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 @@ -0,0 +1 @@ +MD5 22d80bdd94c3c8373062761de0d27fde TinySVM-0.09.tar.gz 317636 diff --git a/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild b/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild new file mode 100644 index 000000000000..091b6668f15b --- /dev/null +++ b/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild,v 1.1 2005/12/25 17:15:25 usata Exp $ + +inherit perl-module flag-o-matic + +MY_PN="TinySVM" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="TinySVM is an implementation of Support Vector Machines (SVMs) for +pattern recognition." +HOMEPAGE="http://chasen.org/~taku/software/TinySVM/" +SRC_URI="http://chasen.org/~taku/software/TinySVM/src/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +IUSE="perl" +#IUSE="java ruby python" + +DEPEND="" +#RDEPEND="" + +src_compile() { + append-ldflags -lstdc++ + econf || die + emake || die + if use perl ; then + cd perl + perl-module_src_compile || die "compile failed in perl" + cd - + fi + # currently it fails to compile under python-2.4 + #if use python ; then + # cd python + # make -f Makefile.pre.in boot || die "compile failed in python" + # make || die + # cd - + #fi + # currently it fails to compile under gcc-3.4 + #if use ruby ; then + # cd ruby + # ruby extconf.rb || die + # make || die + # cd - + ##fi +} + +src_test() { + make check || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS README THANKS + + if use perl ; then + cd perl + perl-module_src_install || die "install failed in perl" + cd - + fi + #if use python ; then + # cd python + # make DESTDIR=${D} install || die "install failed in python" + # cd - + #fi + #if use ruby ; then + # cd ruby + # make DESTDIR=${D} install || die "install failed in ruby" + # cd - + #fi +} |