smlinux/base/zlib/zlib.SMBuild
PktSurf 21c2f83913 Rewrote CFLAGS for base/{parted.pciutils}
Discarded unnecessary build options in base/{sysstat,texinfo,tofrodos,unzip,util-linux,wayland-protocols,xmlto,zlib}
base/which is now statically-linked
2023-03-17 14:19:05 +05:30

32 lines
629 B
Text
Executable file

app=zlib
version=1.2.13
build=1sml
homepage="https://www.zlib.net"
download="https://www.zlib.net/zlib-$version.tar.gz"
requires="musl"
desc="General purpose thread safe data compression library"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=""
make
make install DESTDIR=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
06b5cb2f477b5999d6f5016b545a8d534ff10c744cfdc2056c9ee873e0c9e9cf49a7218161f28929a8509cb290a1dc30240a04ef95380a16d92922d5e01edb49 zlib-1.2.13.tar.lz
"