fitspng, bump version (#9316)

This commit is contained in:
Schrijvers Luc
2023-08-31 16:37:46 +00:00
committed by GitHub
parent 7c848d7c70
commit dda5f5cc6b

View File

@@ -0,0 +1,65 @@
SUMMARY="Utility to convert images in astronomical FITS to PNG format"
DESCRIPTION="FITS format is a general purpose astronomical image format.
FITS images stores measurements of a physical quantity - an array of the
angular distribution of the photon events or the optical intensity.
Fitspng does visualization of such array by converting them to the
images in PNG format."
HOMEPAGE="http://integral.physics.muni.cz/fitspng/"
COPYRIGHT="2006-2022 F. Hroch, Masaryk University in Brno, CZ"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="ftp://integral.physics.muni.cz/pub/fitspng/fitspng-$portVersion.tar.gz"
CHECKSUM_SHA256="a2109c37ab85f6d15126c5f5cb4727e95f61db38c94f56849c03c872813d133a"
SOURCE_DIR="fitspng"
ARCHITECTURES="all !x86_gcc2 ?arm ?ppc ?sparc"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
fitspng$secondaryArchSuffix = $portVersion
cmd:fitspng$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcfitsio$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcfitsio$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
if [ $effectiveTargetArchitecture == x86_64 ]; then
GCC5FLAGS="--enable-x86-64"
fi
CFLAGS="-O4 -DNEBUG"
autoreconf -vfi
runConfigure --omit-dirs binDir ./configure --bindir="$commandBinDir"
make $jobArgs
}
INSTALL()
{
make install
}