Files
haikuports/sci-mathematics/glucas/glucas-2.9.0.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

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
}