mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Add cln and ginac recipes
This commit is contained in:
66
sci-libs/cln/cln-1.3.4.recipe
Normal file
66
sci-libs/cln/cln-1.3.4.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
SUMMARY="A C++ library for efficient computations with arbitrary precision numbers"
|
||||
DESCRIPTION="CLN stands for Class Library for Numbers and is a library for \
|
||||
high-performance numeric computations with arbitrary precision. It is \
|
||||
implemented in C++ for high efficiency, type safety and nice syntax and \
|
||||
supports a wide range of types and functions that operate on them. It is \
|
||||
highly optimized in terms of both efficiency and speed and provides great \
|
||||
interoperability."
|
||||
HOMEPAGE="http://www.ginac.de/CLN/"
|
||||
COPYRIGHT="
|
||||
1988-2008 Bruno Haible
|
||||
2000-2014 Richard Kreckel
|
||||
2008-2010 Alexei Sheplyakov
|
||||
"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.ginac.de/CLN/cln-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748"
|
||||
PATCHES="cln-$portVersion.patch"
|
||||
|
||||
ARCHITECTURES="x86 !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
cln$secondaryArchSuffix = $portVersion
|
||||
lib:libcln$secondaryArchSuffix = $portVersion
|
||||
cmd:pi$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:libcln$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libcln$secondaryArchSuffix == $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLib libcln
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user