Files
haikuports/sci-mathematics/glucas/glucas-2.9.0.recipe
2018-11-17 15:50:34 +00:00

45 lines
836 B
Bash

SUMMARY="A client to make primality test for Mersenne numbers"
DESCRIPTION="Glucas is related to GIMPS effort to search the biggest primes \
ever found."
HOMEPAGE="https://sourceforge.net/projects/glucas/"
COPYRIGHT="2001-2002 gbvalor"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/glucas/Glucas-$portVersion.tar.gz"
CHECKSUM_SHA256="fde422220245788c0d8aeaec6a89f26e849905b1417c5e6ff1a01f56c595cadc"
PATCHES="glucas-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
glucas = $portVersion
cmd:Glucas = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:gcc
cmd:make
cmd:makeinfo
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm -f "$infoDir"/dir
}