void-packages/templates/ImageMagick/template

56 lines
2.1 KiB
Plaintext

# Template file for 'ImageMagick'
pkgname=ImageMagick
_distver=6.5.1
_distverpatch=4
version=${_distver}.${_distverpatch}
wrksrc=${pkgname}-${_distver}-${_distverpatch}
distfiles="ftp://ftp.imagemagick.org/pub/$pkgname/$pkgname-${_distver}-${_distverpatch}.tar.bz2"
build_style=gnu_configure
config_shell="/bin/bash"
configure_args="--without-gslib --without-jp2 --without-autotrace
--without-djvu --without-dps --without-fpx --without-gvc --without-jbig
--without-lqr --without-openexr --with-gs-font-dir=/usr/share/fonts/Type1
--with-magick-plus-plus --enable-shared"
short_desc="Package for display and interactive manipulation of images"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f91ff21ac27575c916aee7fb5f983204c93b8c527f501f49f867d5641a24b641
long_desc="
ImageMagick TM, is a package for display and interactive manipulation
of images for the X Window System. It is written in C and interfaces
to the X library, and therefore does not require any proprietary
toolkit in order to compile. Although the software is copyrighted, it
is available for free and can be redistributed without fee.
The ImageMagick image display program can display an image on any
workstation screen running an X server. It can read and write many of
the more popular image formats including JPEG, TIFF, PNM, GIF, and
Photo CD. In addition you can interactively resize, rotate, sharpen,
color reduce, or add special effects to an image and save your
completed work in the same or differing image format."
Add_dependency build pkg-config
Add_dependency build libtool
Add_dependency full glibc
Add_dependency full perl
Add_dependency full bzip2
Add_dependency full fontconfig
Add_dependency full freetype
Add_dependency full lcms
Add_dependency full libexif
Add_dependency full libpng
Add_dependency full tiff
Add_dependency full libwmf
Add_dependency full libxml2
Add_dependency full cairo
Add_dependency full librsvg
Add_dependency full libX11
Add_dependency run libtool-ltdl
Add_dependency run gcc-libgomp
Add_dependency run gcc-libstdc++
post_install()
{
find ${DESTDIR}/usr/lib -type f -name \
perllocal.pod -o -name .packlist|xargs rm -f
}