APP=lzlib
VERSION=1.11
BUILD=1sml
HOMEPAGE='http://www.nongnu.org/lzip/lzlib.html'
DOWNLOAD='http://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-1.11.tar.lz'
DESC="lzip compression and decompression library"
REQUIRES="musl"

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

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

  ./configure \
    --prefix="" \
    --disable-static

  make
  make install DESTDIR=$PKG 

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2628bb5bfceb8124020cae57f4aecba2f83cbfb5be32acb4f66742e2460e7545be72696f81646fd3e0b7a509faa9d183b7237b7569c2f023ed0488b24a209ae7  lzlib-1.11.tar.lz
"
