# Maintainer: PktSurf <smlinux@pktsurf.in>
app=tarlz
version=0.23
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"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version 
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix= \
    CXXFLAGS="$CXXFLAGS" \

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
623407142d03e0ddae3dbb057b8ef5f1aea850418dbb47c6278affa42c88bc1786cd3249d1e8c018643f41516787225cb2ed3aca2fc02ba8e65dfe4744f965d8  tarlz-0.23.tar.lz
"
