APP=lzo
VERSION=2.10
BUILD=1sml
HOMEPAGE='http://www.oberhumer.com/opensource/lzo/'
DOWNLOAD='http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz'
DESC="portable lossless data compression library written in ANSI C"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --enable-shared=yes \
    --enable-static=no 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
306d6e076d8571b117f4d833aca303af0fafd5c8a798750bbec95eb6c10479ede2a013e6b7519835e2a036d273e00533dde0109052567e5fa809fbd58a2a3ec2  lzo-2.10.tar.lz
"
