- update p5-AI-FANN to 0.10

This commit is contained in:
jasper 2009-03-23 07:22:24 +00:00
parent cd25421f7f
commit a47adbd039
3 changed files with 13 additions and 24 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2008/10/30 10:26:54 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2009/03/23 07:22:24 jasper Exp $
SHARED_ONLY= Yes
COMMENT= interface to the Fast Artificial Neural Network library
DISTNAME= AI-FANN-0.09
DISTNAME= AI-FANN-0.10
CATEGORIES= math
MODULES= cpan
@ -17,8 +17,8 @@ PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= doublefann::math/fann
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile.PL
CONFIGURE_ARGS+= FANN_LIB="${LOCALBASE}/lib" \
FANN_INCLUDE"${LOCALBASE}/include"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-FANN

View File

@ -1,5 +1,5 @@
MD5 (AI-FANN-0.09.tar.gz) = 1Ydn6mXb7s6rcjeQwSN4cQ==
RMD160 (AI-FANN-0.09.tar.gz) = HgDxtMYe1/I117PsOUcQUz3NtUc=
SHA1 (AI-FANN-0.09.tar.gz) = fKK2eaE8U2FTZ/ALy4k0y5QZTBA=
SHA256 (AI-FANN-0.09.tar.gz) = Py5vvPIwh8Ja/FjVEYVtr/bgU8Tzv7xjXpleDcn5iJk=
SIZE (AI-FANN-0.09.tar.gz) = 46274
MD5 (AI-FANN-0.10.tar.gz) = VxPZxOkx/H6W9sq7IOziBg==
RMD160 (AI-FANN-0.10.tar.gz) = F/G8bRmJxGaAILEQ+WwGL/diXZM=
SHA1 (AI-FANN-0.10.tar.gz) = n53Q3KI9rnQiIgi50EKk0Daa4FM=
SHA256 (AI-FANN-0.10.tar.gz) = bU9Gzd4IqwAaExMtuL3aDkGd3OHYvtEL11va+EIR8o8=
SIZE (AI-FANN-0.10.tar.gz) = 52716

View File

@ -1,18 +1,7 @@
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2008/09/30 09:22:58 jasper Exp $
--- Makefile.PL.orig Fri Nov 24 10:37:08 2006
+++ Makefile.PL Tue Sep 30 00:37:17 2008
@@ -1,8 +1,8 @@
use ExtUtils::MakeMaker;
-my $fann_lib="";
-my $fan_inc="";
+my $fann_lib="-L${PREFIX}/lib";
+my $fan_inc="-I${PREFIX}/include";
@ARGV = map {
if (/^FANN_LIB=(.*)/) {
@@ -24,7 +24,7 @@ WriteMakefile( NAME => 'AI::FANN',
$OpenBSD: patch-Makefile_PL,v 1.2 2009/03/23 07:22:24 jasper Exp $
--- Makefile.PL.orig Mon Mar 23 00:25:55 2009
+++ Makefile.PL Mon Mar 23 00:26:02 2009
@@ -33,7 +33,7 @@ WriteMakefile( NAME => 'AI::FANN',
PREREQ_PM => {},
ABSTRACT_FROM => 'lib/AI/FANN.pm',
AUTHOR => 'Salvador Fandiño <sfandino@yahoo.com>',