void-packages/srcpkgs/GraphicsMagick/template

48 lines
1.6 KiB
Bash
Raw Normal View History

# Template file for 'GraphicsMagick'
pkgname=GraphicsMagick
2015-11-17 08:44:35 +00:00
version=1.3.23
2015-10-06 07:05:44 +00:00
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"
2014-09-15 15:32:57 +00:00
depends="ghostscript"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.graphicsmagick.org/"
license="MIT"
2015-10-06 07:05:44 +00:00
short_desc="GraphicsMagick Image Processing System"
distfiles="${SOURCEFORGE_SITE}/graphicsmagick/${version}/${pkgname}-${version}.tar.gz"
2015-11-17 08:44:35 +00:00
checksum=cb320e009173c66927041a675755fad454b8aadf1da2c6fd1d65eac298c556db
2015-10-06 07:05:44 +00:00
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() {
2015-10-06 07:05:44 +00:00
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*/
}
}