### this file is sourced not run
PKGVER=7.0.9.14
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=ImageMagick-7.0.9-14.tar.xz
MD5SUM=8ff1f3918d372bca1384d86e0d844f29
SRC_URL=https://imagemagick.org/download/$TARBALL
#SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ='autotrace libfftw3 fontconfig freetype2 lcms2 librsvg libtiff \
libpng libdjvulibre libX11 libxml2 libjpeg-turbo' # libjbig compile-time only
SLACKDESC="imagemagick: imagemagick $PKGVER (Image converter)  
imagemagick:  
imagemagick: ImageMagick® is a software suite to create, edit, compose, or 
imagemagick: convert bitmap images. It can read and write images in a variety 
imagemagick: of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, 
imagemagick: PDF, PNG, Postscript, SVG, and TIFF. Use ImageMagick to resize, 
imagemagick: flip, mirror, rotate, distort, shear and transform images, adjust 
imagemagick: image colors, apply various special effects, or draw text, lines, 
imagemagick: polygons, ellipses and Bézier curves.  
imagemagick: 
imagemagick: https://www.imagemagick.org/
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static --enable-hdri \
		--with-autotrace --with-rsvg --with-gs-font-dir=/usr/share/ghostscript/fonts"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
