szip: added a recipe for version 2.1

This commit is contained in:
Jerome Duval
2015-02-23 21:24:03 +00:00
parent 4896fd46d5
commit 8833c48177
2 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
SZIP Copyright and License Notice
The SZIP Science Data Lossless Compression Program is Copyright (C) 2001
Science & Technology Corporation @ UNM. All rights released.
Copyright (C) 2003-2005 Lowell H. Miles and Jack A. Venbrux.
Licensed to ICs, LLC, for distribution by the University of Illinois'
National Center for Supercomputing Applications as a part of the
HDF data storage and retrieval file format and software library
products package. All rights reserved. Do not modify or use for other
purposes.
SZIP implements an extended Rice adaptive lossless compression algorithm
for sample data. The primary algorithm was developed by R. F. Rice at
Jet Propulsion Laboratory.
SZIP embodies certain inventions patented by the National Aeronautics &
Space Administration. United States Patent Nos. 5,448,642, 5,687,255,
and 5,822,457 have been licensed to ICs, LLC, for distribution with the
HDF data storage and retrieval file format and software library products.
All rights reserved.
Revocable (in the event of breach by the user or if required by law),
royalty-free, nonexclusive sublicense to use SZIP decompression software
routines and underlying patents is hereby granted by ICs, LLC, to all users
of and in conjunction with HDF data storage and retrieval file format and
software library products.
Revocable (in the event of breach by the user or if required by law),
royalty-free, nonexclusive sublicense to use SZIP compression software
routines and underlying patents for non-commercial, scientific use only
is hereby granted by ICs, LLC, to users of and in conjunction with HDF
data storage and retrieval file format and software library products.
For commercial use license to SZIP compression software routines and
underlying patents, please contact ICs, LLC, at
Address: ICs, LLC, 2040 Warren Wagon Road, P.O. Box 2236
McCall, ID 83638
Phone: (208) 315-2877. Fax: (208) 634-7720.
Email: support@ics4chips.com

View File

@@ -0,0 +1,69 @@
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"
SRC_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
"