diff --git a/srcpkgs/GraphicsMagick/INSTALL b/srcpkgs/GraphicsMagick/INSTALL new file mode 100644 index 00000000000..590820daa47 --- /dev/null +++ b/srcpkgs/GraphicsMagick/INSTALL @@ -0,0 +1,29 @@ +# +# This script will advice the user of the procedure of installation +# of the Perl interface for GraphicsMagick +# + +case "${ACTION}" in +post) + + cat << _EOF +===================================================================== + + The libgraphicsmagick-devel package contain also: + + - The documentation for GraphicsMagick found in: + + /usr/share/doc/GraphicsMagick/www + + - GraphicsMagick PERL extension. + To install this extension follow the instructions in: + + /usr/share/doc/GraphicsMagick/PerlMagick/README.txt + + The VoidLinux Team + +===================================================================== +_EOF + ;; +esac + diff --git a/srcpkgs/GraphicsMagick/template b/srcpkgs/GraphicsMagick/template new file mode 100644 index 00000000000..ca83173138b --- /dev/null +++ b/srcpkgs/GraphicsMagick/template @@ -0,0 +1,52 @@ +# Template file for 'GraphicsMagick' +pkgname=GraphicsMagick +version=1.3.19 +revision=1 +build_style=gnu-configure +maintainer="Carlo Dormeletti " +homepage="http://www.graphicsmagick.org/" +license="MIT" +short_desc="GraphicsMagick Image Processing System" +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" +keep_libtool_archives=yes + +hostmakedepends="pkg-config perl>=5.18" +makedepends="perl>=5.18 libjpeg-turbo-devel libpng-devel>=1.6 tiff-devel + lcms2-devel freetype-devel libwebp-devel>=0.4.0 fontconfig-devel libXext-devel + libXt-devel libltdl-devel libxml2-devel libwmf-devel liblzma-devel libgomp-devel + ghostscript-devel" + +depends=" ghostscript " +distfiles="${SOURCEFORGE_SITE}/graphicsmagick/${version}/${pkgname}-${version}.tar.gz" +checksum="f56f54bc64705dc01830c836afd4491a258c3ad867534889b72692e91f641a85" + +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+=" - development files" + depends="${pkgname}>=${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*/ + } +} + +post_install(){ + # license + vinstall ${wrksrc}/Copyright.txt 644 usr/share/licenses/${pkgname} +} \ No newline at end of file