summaryrefslogtreecommitdiff
path: root/var/spack/packages/ImageMagick/package.py
blob: 657b9255a32d926709c7c7125a662ab811a099a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from spack import *

class Imagemagick(Package):
    """ImageMagick is a image processing library"""
    homepage = "http://www.imagemagic.org"
    url      = "http://www.imagemagick.org/download/ImageMagick-6.8.9-10.tar.gz"

    version('6.9.0-0',  '2cf094cb86ec518fa5bc669ce2d21613')
    version('6.8.9-10', 'aa050bf9785e571c956c111377bbf57c')
    version('6.8.9-9',  'e63fed3e3550851328352c708f800676')

    depends_on('libtool')
    depends_on('jpeg')
    depends_on('libpng')
    depends_on('freetype')
    depends_on('fontconfig')
#   depends_on('libtiff')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)

        make()
        make("install")