smlinux/base/libminizip/libminizip.SMBuild

39 lines
727 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libminizip
version=1.2.11
build=1sml
homepage="https://www.zlib.net"
desc="Zip compression and decompression library"
requires="zlib"
prepbuilddir() {
mkandenterbuilddir
rm -rf zlib-$version
tar xf $srcdir/zlib-$version.tar.?z*
cd zlib-$version
fixbuilddirpermissions
cd contrib/minizip
libtoolize
aclocal
autoconf
automake --add-missing
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp ../../README $pkgdocs/
mkfinalpkg
}
sha512sums="
c983b6d1e595d08b4cce8858a5df0ed01fc324807b1d191b06f0900224b51f247d482c2335828a6ec8e4e3778eb374dc3e31b8bfc23c69743926612d05cdd81e zlib-1.2.11.tar.lz
"