Files
haikuports/sci-libs/szip/szip-2.1.1.recipe
2017-10-20 20:10:07 +02:00

72 lines
1.8 KiB
Bash

SUMMARY="Extended-Rice lossless compression algorithm implementation"
DESCRIPTION="
Szip is an implementation of the extended-Rice lossless compression algorithm. \
The Consultative Committee on Space Data Systems (CCSDS) has adopted the \
extended-Rice algorithm for international standards for space applications\
. Szip is reported to provide fast and effective compression, specifically for \
the EOS data generated by the NASA Earth Observatory System (EOS). It was \
originally developed at University of New Mexico (UNM) and integrated with \
HDF4 by UNM researchers and developers.
"
HOMEPAGE="http://www.hdfgroup.org/doc_resource/SZIP/"
COPYRIGHT="
2001 Science & Technology Corporation
2003-2005 Lowell H. Miles and Jack A. Venbrux
"
LICENSE="SZIP"
REVISION="1"
SOURCE_URI="http://www.hdfgroup.org/ftp/lib-external/szip/$portVersion/src/szip-$portVersion.tar.gz"
CHECKSUM_SHA256="897dda94e1d4bf88c91adeaad88c07b468b18eaf2d6125c47acac57e540904a9"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
szip$secondaryArchSuffix = $portVersion compat >= 2
lib:libsz$secondaryArchSuffix = 2.0.0 compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
szip${secondaryArchSuffix}_devel = $portVersion compat >= 2
devel:libsz$secondaryArchSuffix = 2.0.0 compat >= 2
"
REQUIRES_devel="
szip$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libsz.la
prepareInstalledDevelLibs libsz
# devel package
packageEntries devel \
$developDir
}