72 lines
1.8 KiB
Bash
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="https://www.hdfgroup.org/doc_resource/SZIP/"
|
|
COPYRIGHT="
|
|
2001 Science & Technology Corporation
|
|
2003-2005 Lowell H. Miles and Jack A. Venbrux
|
|
"
|
|
LICENSE="SZIP"
|
|
REVISION="2"
|
|
SOURCE_URI="https://www.hdfgroup.org/ftp/lib-external/szip/$portVersion/src/szip-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="21ee958b4f2d4be2c9cabfa5e1a94877043609ce86fde5f286f105f7ff84d412"
|
|
|
|
ARCHITECTURES="all"
|
|
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
|
|
}
|