Files
haikuports/sci-libs/szip/szip-2.1.recipe
2015-08-04 12:08:31 -04:00

70 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"
SOURCE_URI="http://www.hdfgroup.org/ftp/lib-external/szip/$portVersion/src/szip-$portVersion.tar.gz"
CHECKSUM_SHA256="a816d95d5662e8279625abdbea7d0e62157d7d1f028020b1075500bf483ed5ef"
REVISION="1"
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
"
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
prepareInstalledDevelLibs libsz
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
szip${secondaryArchSuffix}_devel = $portVersion compat >= 2
devel:libsz$secondaryArchSuffix = 2.0.0 compat >= 2
"
REQUIRES_devel="
szip$secondaryArchSuffix == $portVersion base
"