Update ImageMagick to latest version
This commit is contained in:
parent
2b83ea30e7
commit
a388871083
@ -26,29 +26,13 @@
|
|||||||
|
|
||||||
|
|
||||||
class Imagemagick(Package):
|
class Imagemagick(Package):
|
||||||
"""ImageMagick is a image processing library"""
|
"""ImageMagick is a software suite to create, edit, compose,
|
||||||
homepage = "http://www.imagemagic.org"
|
or convert bitmap images."""
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
homepage = "http://www.imagemagick.org"
|
||||||
# ImageMagick does not keep around anything but *-10 versions, so
|
url = "http://www.imagemagick.org/download/ImageMagick-7.0.2-6.tar.gz"
|
||||||
# this URL may change. If you want the bleeding edge, you can
|
|
||||||
# uncomment it and see if it works but you may need to try to
|
|
||||||
# fetch a newer version (-6, -7, -8, -9, etc.) or you can stick
|
|
||||||
# wtih the older, stable, archived -10 versions below.
|
|
||||||
#
|
|
||||||
# TODO: would be nice if spack had a way to recommend avoiding a
|
|
||||||
# TODO: bleeding edge version, but not comment it out.
|
|
||||||
# -------------------------------------------------------------------------
|
|
||||||
# version('6.9.0-6', 'c1bce7396c22995b8bdb56b7797b4a1b',
|
|
||||||
# url="http://www.imagemagick.org/download/ImageMagick-6.9.0-6.tar.bz2")
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
version('7.0.2-6', 'c29c98d2496fbc66adb05a28d8fad21a')
|
||||||
# *-10 versions are archived, so these versions should fetch reliably.
|
|
||||||
# -------------------------------------------------------------------------
|
|
||||||
version(
|
|
||||||
'6.8.9-10',
|
|
||||||
'aa050bf9785e571c956c111377bbf57c',
|
|
||||||
url="http://sourceforge.net/projects/imagemagick/files/old-sources/6.x/6.8/ImageMagick-6.8.9-10.tar.gz/download")
|
|
||||||
|
|
||||||
depends_on('jpeg')
|
depends_on('jpeg')
|
||||||
depends_on('libtool', type='build')
|
depends_on('libtool', type='build')
|
||||||
@ -56,8 +40,11 @@ class Imagemagick(Package):
|
|||||||
depends_on('freetype')
|
depends_on('freetype')
|
||||||
depends_on('fontconfig')
|
depends_on('fontconfig')
|
||||||
depends_on('libtiff')
|
depends_on('libtiff')
|
||||||
|
depends_on('ghostscript')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix)
|
configure('--prefix={0}'.format(prefix))
|
||||||
|
|
||||||
make()
|
make()
|
||||||
make("install")
|
make('check')
|
||||||
|
make('install')
|
||||||
|
@ -26,16 +26,20 @@
|
|||||||
|
|
||||||
|
|
||||||
class Ghostscript(Package):
|
class Ghostscript(Package):
|
||||||
"""an interpreter for the PostScript language and for PDF. """
|
"""An interpreter for the PostScript language and for PDF."""
|
||||||
|
|
||||||
homepage = "http://ghostscript.com/"
|
homepage = "http://ghostscript.com/"
|
||||||
url = "http://downloads.ghostscript.com/public/old-gs-releases/ghostscript-9.18.tar.gz"
|
url = "http://downloads.ghostscript.com/public/old-gs-releases/ghostscript-9.18.tar.gz"
|
||||||
|
|
||||||
version('9.18', '33a47567d7a591c00a253caddd12a88a')
|
version('9.18', '33a47567d7a591c00a253caddd12a88a')
|
||||||
|
|
||||||
parallel = False
|
parallel = False
|
||||||
|
|
||||||
|
depends_on('libtiff')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix, "--enable-shared")
|
configure('--prefix={0}'.format(prefix),
|
||||||
|
'--with-system-libtiff')
|
||||||
|
|
||||||
make()
|
make()
|
||||||
make("install")
|
make('install')
|
||||||
|
Loading…
Reference in New Issue
Block a user