APP=qpdf
VERSION=6.0.0
BUILD=1sml
HOMEPAGE='http://qpdf.sourceforge.net/'
DOWNLOAD='https://sourceforge.net/projects/qpdf/files/qpdf/6.0.0/qpdf-6.0.0.tar.gz'
DESC="Command-line tools and library for transforming PDF files"
REQUIRES="gcc-libs pcre"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --disable-static

  make
  make install DESTDIR=$PKG 

  cp Artistic* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
a6025fca43885bd04e43c8222a0bb858ef7cfc4c09abdda324975dcf8bdc99e225997c3e12f3ecac15f6aca314e4d836db00f2fe1bce600c36a9a53bf934a208  qpdf-6.0.0.tar.lz
"
