APP=gzip
VERSION=1.10
BUILD=1sml
HOMEPAGE='https://www.gnu.org/software/gzip/'
DOWNLOAD='https://ftp.gnu.org/gnu/gzip/gzip-1.10.tar.gz'
DESC="GNU file compression utility"
REQUIRES="less"

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

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

  #$SRCDIR/gnulibfix lib
  #CPPFLAGS="-Drpl_fdopendir=fdopendir -DS_IRWXUGO=077 -DO_BINARY=0" \
  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make V=1
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
7939043e74554ced0c1c05d354ab4eb36cd6dce89ad79d02ccdc5ed6b7ee390759689b2d47c07227b9b44a62851afe7c76c4cae9f92527d999f3f1b4df1cccff  gzip-1.10.tar.gz
"
