27 lines
641 B
Plaintext
27 lines
641 B
Plaintext
# Description: Compression software, providing lossless compression of scientific data (HDF4, HDF5).
|
|
# URL: https://support.hdfgroup.org/doc_resource/SZIP/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Contributor: Danny Rawlins, crux at romster dot me
|
|
# Depends on:
|
|
|
|
name=szip
|
|
version=2.1.1
|
|
release=1
|
|
source=(https://support.hdfgroup.org/ftp/lib-external/$name/$version/src/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
sed -i -e '/^SUBDIRS = /s/src test examples/src/' Makefile.in
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static
|
|
|
|
make
|
|
make prefix=$PKG/usr install
|
|
|
|
# strip .la files
|
|
rm -f $PKG/usr/lib/*.la
|
|
}
|
|
|