0
0
Fork 0
haikuports/sci-mathematics/glucas/glucas-2.9.0.recipe

46 lines
863 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="2000-2002 Guillermo Ballester Valor
2000-2002 Klaus Kastens"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://downloads.sourceforge.net/glucas/Glucas-$portVersion.tar.gz"
CHECKSUM_SHA256="fde422220245788c0d8aeaec6a89f26e849905b1417c5e6ff1a01f56c595cadc"
PATCHES="glucas-$portVersion.patchset"
ARCHITECTURES="all"
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
}