mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
gsl: convert to actual recipe and bump version.
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="gsl - The GNU Scientific Library"
|
||||
HOMEPAGE="http://www.gnu.org/software/gsl/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/gsl/gsl-1.13.tar.gz"
|
||||
CHECKSUM_MD5="d9fcfa367c44ab68a25b4edf34c3c5f7"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd gsl-1.13
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd gsl-1.13
|
||||
make install
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
DESCRIPTION="gsl - The GNU Scientific Library"
|
||||
HOMEPAGE="http://www.gnu.org/software/gsl/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz"
|
||||
CHECKSUM_MD5="d55e7b141815412a072a3f0e12442042"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd gsl-1.14
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \
|
||||
--infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \
|
||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd gsl-1.14
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1996-2000, 2007 Brian Gough, Gerard Jungman, Mark Galassi, James Theiler, Reid Priedhorsky, Jim Davies and others."
|
||||
126
sci-libs/gsl/gsl-1.16.recipe
Normal file
126
sci-libs/gsl/gsl-1.16.recipe
Normal file
@@ -0,0 +1,126 @@
|
||||
SUMMARY="GNU Scientific Library"
|
||||
DESCRIPTION="
|
||||
This is GSL, the GNU Scientific Library, a collection of numerical \
|
||||
routines for scientific computing.
|
||||
"
|
||||
HOMEPAGE="http://www.gnu.org/software/gsl/"
|
||||
COPYRIGHT="
|
||||
1996-2007, 2009, 2010 Gerard Jungman
|
||||
1996-2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2013 Brian Gough
|
||||
1996-2000, 2007, 2010 Jim Davies
|
||||
2002, 2004, 2009 Ivo Alxneit
|
||||
2002 Gert Van den Eynde
|
||||
1996-2000, 2007, 2013 Patrick Alken
|
||||
2002, 2003, 2009 Lowell Johnson
|
||||
1996, 1997, 1998, 1999, 2000, 2001, 2007 Thomas Walter
|
||||
1996, 1997, 1998, 1999, 2000 Mark Galassi
|
||||
1996, 1997, 1998, 1999, 2000, 2007 Reid Priedhorsky
|
||||
1996, 1997, 1998, 1999, 2000, 2007, 2010 James Theiler
|
||||
2002 Atakan Gurkan
|
||||
2003 Heiko Bauke
|
||||
2001, 2003, 2007 Carlo Perassi
|
||||
2003 Olaf Lenz
|
||||
2002 Gavin E. Crooks <gec@compbio.berkeley.edu>
|
||||
2000, 2001, 2004 David Morrison
|
||||
2005 Jochen Voss
|
||||
2006 Charles Karney
|
||||
2004, 2006 Giulio Bottazzi
|
||||
2007 O. Teytaud
|
||||
1996, 1997, 1998, 1999, 2000, 2006-2009, 2013 Patrick Alken
|
||||
2009 Marc JOURDAIN
|
||||
2007 Frank Reininghaus
|
||||
2001 DAN, HO-JIN
|
||||
2001, 2002 Nicolas Darnis
|
||||
2004, 2008, 2009, 2010 Tuomo Keskitalo
|
||||
2008, 2009, 2011 Rhys Ulerich
|
||||
2000 Simone Piccardi
|
||||
2001 Szymon Jaroszewicz
|
||||
1996, 1997, 1998, 1999, 2000 Fabrice Rossi
|
||||
1996, 1997, 1998, 1999, 2000, 2009 Michael Booth
|
||||
2007 James Howse
|
||||
1996, 1997, 1998, 1999, 2000, 2002, 2004, 2007 David Necas
|
||||
2004 Joerg Wensch
|
||||
2007-2008 Pavel Holoborodko
|
||||
2010 Pedro Gonnet
|
||||
1996, 1997, 1998, 1999, 2000 Tim Mooney
|
||||
2001 Jason Beegan
|
||||
2001 Henry Sobotka
|
||||
1996, 1997, 1998, 1999, 2000, 2007 John Fisher
|
||||
2000 Vladimir Kushnir
|
||||
2006 Erik Schnetter
|
||||
2001 Rodney Sparapani
|
||||
2002 Achim Gaedke
|
||||
1996, 1997, 1998, 1999, 2000, 2007 Jorma Olavi Ttinen
|
||||
2002-2004 Jason H. Stover
|
||||
"
|
||||
LICENSE="GNU GPL v3"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/gsl/gsl-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="73bc2f51b90d2a780e6d266d43e487b3dbd78945dd0b04b14ca5980fe28d2f53"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
|
||||
PROVIDES="
|
||||
gsl$secondaryArchSuffix = $portVersion compat >= 1
|
||||
cmd:gsl_histogram$secondaryArchSuffix
|
||||
cmd:gsl_randist$secondaryArchSuffix
|
||||
lib:libgsl$secondaryArchSuffix = 0.17.0 compat >= 0
|
||||
lib:libgslcblas$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:find
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libgsl libgslcblas
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$binDir/gsl-config \
|
||||
$developDir \
|
||||
$manDir/man1/gsl-config.1 \
|
||||
$manDir/man3 \
|
||||
$dataDir/aclocal
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
gsl${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
cmd:gsl_config$secondaryArchSuffix
|
||||
devel:libgsl$secondaryArchSuffix = 0.17.0 compat >= 0
|
||||
devel:libgslcblas$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gsl$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user