### this file is sourced not run
PKGVER=6.0.0
PKGBUILD=1
PKGARCH=i686

# source: post BLFS 7.8 2015-01-06
TARBALL=qpdf-$PKGVER.tar.gz
MD5SUM=e014bd3ecf1c4d1a520bbc14d84ac20e
SRC_URL=http://downloads.sourceforge.net/qpdf/$TARBALL
BUNDLE=

SLACKREQ='libpcre32 libxslt32'
SLACKDESC="qpdf32: qpdf32 $PKGVER (PDF transformation library)  
qpdf32:  
qpdf32: The Qpdf package contains command-line programs and library that do 
qpdf32: structural, content-preserving transformations on PDF files.  
qpdf32: 
qpdf32: This contains 32-bit version of the library.
qpdf32: 
qpdf32: 
qpdf32: 
qpdf32: 
qpdf32:
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static --docdir=/usr/share/doc/qpdf-$PKGVER"
	pkg_build_autoconf && pkg_build_slackdesc
}


