app=tarlz
version=0.16
build=1sml
homepage="https://www.nongnu.org/lzip/tarlz.html"
download="http://download.savannah.gnu.org/releases/lzip/tarlz/tarlz-$version.tar.lz"
desc="multi-threaded compression utility of tar and lzip"
requires="gcc-libs lzlib"

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="
619cb5807e58cbb267e0bd4780e578a069de2bd721c4ff84416b0d551d79c4172d453ee7e0c610b3c5da5a9f5068f5d134638c39ab67c05a5e853257abb2ff00  tarlz-0.16.tar.lz
"
