szip, disable static library (#8464)

This commit is contained in:
Schrijvers Luc
2023-04-20 13:03:40 +02:00
committed by GitHub
parent 78b3d199d2
commit 4e45e24e8d

View File

@@ -1,29 +1,28 @@
SUMMARY="Extended-Rice lossless compression algorithm implementation"
DESCRIPTION="
Szip is an implementation of the extended-Rice lossless compression algorithm. \
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.
"
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
"
COPYRIGHT="2001 Science & Technology Corporation
2003-2005 Lowell H. Miles and Jack A. Venbrux"
LICENSE="SZIP"
REVISION="2"
REVISION="3"
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"
libVersion="2.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
szip$secondaryArchSuffix = $portVersion compat >= 2
lib:libsz$secondaryArchSuffix = 2.0.0 compat >= 2
lib:libsz$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -31,7 +30,7 @@ REQUIRES="
PROVIDES_devel="
szip${secondaryArchSuffix}_devel = $portVersion compat >= 2
devel:libsz$secondaryArchSuffix = 2.0.0 compat >= 2
devel:libsz$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
szip$secondaryArchSuffix == $portVersion base
@@ -46,14 +45,14 @@ BUILD_PREREQUIRES="
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}
@@ -63,7 +62,7 @@ INSTALL()
rm $libDir/libsz.la
prepareInstalledDevelLibs libsz
prepareInstalledDevelLib libsz
# devel package
packageEntries devel \