mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
amath 1.8.1 (#1285)
This commit is contained in:
48
sci-mathematics/amath/amath-1.8.1.recipe
Normal file
48
sci-mathematics/amath/amath-1.8.1.recipe
Normal file
@@ -0,0 +1,48 @@
|
||||
SUMMARY="Simple command line calculator"
|
||||
DESCRIPTION="amath features a case sensitive command line interface, internal
|
||||
IEEE 754 calculations with 15 significant digits, calculations with real and
|
||||
complex numbers, variables and user defined functions, logarithmic and exponential \
|
||||
functions, trigonometric and hyperbolic function and selected mathematical \
|
||||
constants and rounding functions."
|
||||
HOMEPAGE="http://amath.innolan.net"
|
||||
LICENSE="BSD (2-clause)"
|
||||
COPYRIGHT="2014-2017 Carsten Sonne Larsen"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://suyai.innolan.net/amath-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5eecb08afca75097d16c4ceb601f274105924c45d3ea8fddafb2f923560908b1"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
amath = $portVersion
|
||||
cmd:amath
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure --without-stdc++ LDFLAGS=-lbe
|
||||
make static $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir $manDir/man1
|
||||
cp amath $binDir/amath
|
||||
cp amath.1 $manDir/man1/amath.1
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user