summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/tinysvm/tinysvm-0.09-r1.ebuild')
-rw-r--r--sci-misc/tinysvm/tinysvm-0.09-r1.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild b/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild
index 091b6668f15b..e28b13645084 100644
--- a/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild
+++ b/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild,v 1.2 2006/06/19 23:45:41 usata Exp $
-inherit perl-module flag-o-matic
+inherit perl-module flag-o-matic eutils
MY_PN="TinySVM"
MY_P="${MY_PN}-${PV}"
@@ -23,6 +23,14 @@ IUSE="perl"
DEPEND=""
#RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-pm.patch
+ cd ${S}/src
+ ln -s . TinySVM
+}
+
src_compile() {
append-ldflags -lstdc++
econf || die