app=plzip
version=1.8
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"

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
bbc4c2c94b49c9efed0c93b3c766fedd82195014b7d7aa813420bec6a52d064de8f0ef4ba912ab5fc9d4fddc204001ba8eddd9c5191b50e7f50b6600af47ea75  plzip-1.8.tar.lz
"
