35 lines
758 B
Text
35 lines
758 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=lzlib
|
|
version=1.13
|
|
build=1sml
|
|
homepage="http://www.nongnu.org/lzip/lzlib.html"
|
|
download="http://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-$version.tar.lz"
|
|
desc="lzip compression and decompression library"
|
|
requires="musl"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix="" \
|
|
--disable-static \
|
|
CFLAGS="$CFLAGS"
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
780531ddad16b907a80d417c65d0c1010b86943a600a69147f51884f3332483bd889dc31b4d7ce897a4ff53e71a5bc28fae7e5ef30e4408e7f3830ab8bdf94e1 lzlib-1.13.tar.lz
|
|
"
|