# Maintainer: PktSurf <smlinux@pktsurf.in>
app=plzip
version=1.10
build=1sml
homepage="http://www.nongnu.org/lzip/plzip.html"
download="http://download.savannah.gnu.org/releases/lzip/plzip/plzip-$version.tar.lz"
desc="parallel lzip compressor"
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="
3233028a1294805da15856194fa94701e3abf3e5322e56ac631ad547b0b03995fabb5a7c4292e807f1be5b1cbfd6c6324af165691858da35b699c4e4e6927ed4  plzip-1.10.tar.lz
"
