34 lines
790 B
Text
34 lines
790 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=lzo
|
|
version=2.10
|
|
build=2sml
|
|
homepage="http://www.oberhumer.com/opensource/lzo/"
|
|
download="http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz"
|
|
desc="portable lossless data compression library written in ANSI C"
|
|
requires="musl"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix="" \
|
|
--docdir="/share/doc/$app-$version" \
|
|
--enable-shared=yes \
|
|
--enable-static=no
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
306d6e076d8571b117f4d833aca303af0fafd5c8a798750bbec95eb6c10479ede2a013e6b7519835e2a036d273e00533dde0109052567e5fa809fbd58a2a3ec2 lzo-2.10.tar.lz
|
|
"
|