Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/tinysvm: ChangeLog tinysvm-0.09-r2.ebuild
Date: Mon, 03 Nov 2008 01:20:22
Message-Id: E1Kwo7A-0001oC-Ps@stork.gentoo.org
1 matsuu 08/11/03 01:20:20
2
3 Modified: ChangeLog
4 Added: tinysvm-0.09-r2.ebuild
5 Log:
6 Removed append-ldflags -lstdc++, bug #226919. Fixed -fPIC issue, bug #240366.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
8
9 Revision Changes Path
10 1.6 sci-misc/tinysvm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/tinysvm/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/tinysvm/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/tinysvm/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 25 Dec 2007 17:14:41 -0000 1.5
23 +++ ChangeLog 3 Nov 2008 01:20:20 -0000 1.6
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sci-misc/tinysvm
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v 1.5 2007/12/25 17:14:41 phreak Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v 1.6 2008/11/03 01:20:20 matsuu Exp $
30 +
31 +*tinysvm-0.09-r2 (03 Nov 2008)
32 +
33 + 03 Nov 2008; MATSUU Takuto <matsuu@g.o>
34 + +files/tinysvm-0.09-r2-pm.patch, +tinysvm-0.09-r2.ebuild:
35 + Removed append-ldflags -lstdc++, bug #226919. Fixed -fPIC issue, bug
36 + #240366.
37
38 25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
39 Removing usata from metadata.xml as per #22931.
40
41
42
43 1.1 sci-misc/tinysvm/tinysvm-0.09-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tinysvm-0.09-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild,v 1.1 2008/11/03 01:20:20 matsuu Exp $
53
54 inherit eutils perl-module toolchain-funcs
55
56 MY_P="TinySVM-${PV}"
57 DESCRIPTION="TinySVM is an implementation of Support Vector Machines (SVMs) for
58 pattern recognition."
59 HOMEPAGE="http://chasen.org/~taku/software/TinySVM/"
60 SRC_URI="http://chasen.org/~taku/software/TinySVM/src/${MY_P}.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 #IUSE="java perl python ruby"
66 IUSE="perl"
67
68 S="${WORKDIR}/${MY_P}"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73 epatch "${FILESDIR}/${PF}-pm.patch"
74 ln -s . src/TinySVM
75 }
76
77 src_compile() {
78 tc-export CC CXX
79
80 econf || die
81 emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die
82 if use perl ; then
83 (
84 cd perl
85 perl-module_src_compile || die "compile failed in perl"
86 )
87 fi
88 ## currently it fails to compile under python-2.4
89 #if use python ; then
90 # (
91 # cd python
92 # emake -f Makefile.pre.in boot || die "compile failed in python"
93 # emake || die
94 # )
95 #fi
96 ## currently it fails to compile under gcc-3.4
97 #if use ruby ; then
98 # (
99 # cd ruby
100 # ruby extconf.rb || die
101 # emake || die
102 # )
103 #fi
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" install || die
108
109 dodoc AUTHORS README THANKS
110
111 if use perl ; then
112 (
113 cd perl
114 perl-module_src_install || die "install failed in perl"
115 )
116 fi
117 #if use python ; then
118 # (
119 # cd python
120 # emake DESTDIR="${D}" install || die "install failed in python"
121 # )
122 #fi
123 #if use ruby ; then
124 # (
125 # cd ruby
126 # emake DESTDIR="${D}" install || die "install failed in ruby"
127 # )
128 #fi
129 }