void-packages/srcpkgs/GraphicsMagick/template
Michael Gehring 24bb089daf GraphicsMagick: update to 1.3.26.
Fixes CVE-2017-10799, CVE-2017-8350, CVE-2017-10800, CVE-2016-7800,
CVE-2016-9830, CVE-2017-6335, CVE-2017-10794, CVE-2016-7996,
CVE-2016-7997
2017-07-08 20:28:12 +00:00

47 lines
1.6 KiB
Bash

# Template file for 'GraphicsMagick'
pkgname=GraphicsMagick
version=1.3.26
revision=1
keep_libtool_archives=yes
build_style=gnu-configure
configure_args="--with-quantum-depth=16 --with-gs-font-dir=/usr/share/fonts/Type1
--with-modules --with-perl --without-lcms --without-jp2 --enable-shared --disable-static"
hostmakedepends="pkg-config perl"
makedepends="perl libjpeg-turbo-devel libpng-devel tiff-devel
lcms2-devel freetype-devel libwebp-devel fontconfig-devel libXext-devel
libXt-devel libltdl-devel libxml2-devel libwmf-devel liblzma-devel libgomp-devel
ghostscript-devel"
depends="ghostscript"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.graphicsmagick.org/"
license="MIT"
short_desc="GraphicsMagick Image Processing System"
distfiles="${SOURCEFORGE_SITE}/graphicsmagick/graphicsmagick/${version}/${pkgname}-${version}.tar.gz"
checksum=ab06d07cda5181f7829714c9f5641c0a93a0c3af2dacd747ed48d534e1ed0b3a
post_install() {
vlicense Copyright.txt LICENSE
}
libgraphicsmagick_package() {
short_desc="GraphicsMagick low-level image manipulation libraries"
pkg_install() {
vmove "usr/lib/libGraphicsMagick*.so.*"
vmove "usr/lib/GraphicsMagick*"
vmove "usr/share/GraphicsMagick*"
}
}
libgraphicsmagick-devel_package() {
short_desc="GraphicsMagick low-level image manipulation libraries - development files"
depends="libgraphicsmagick>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove "usr/bin/*-config"
vmove "usr/lib/*.so"
vmove "usr/lib/*.la"
vmove "usr/share/man/man1/*-config.1"
vcopy ${wrksrc}/PerlMagick usr/share/doc/GraphicsMagick*/
}
}