summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pango/package.py
blob: 79dad3a3d2f88f366726591bdd8fc4c2972b5c0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from spack import *

class Pango(Package):
    """Pango is a library for laying out and rendering of text, with
       an emphasis on internationalization. It can be used anywhere
       that text layout is needed, though most of the work on Pango so
       far has been done in the context of the GTK+ widget toolkit."""
    homepage = "http://www.pango.org"
    url      = "http://ftp.gnome.org/pub/gnome/sources/pango/1.36/pango-1.36.8.tar.xz"

    version('1.36.8', '217a9a753006275215fa9fa127760ece')

    depends_on("harfbuzz")
    depends_on("cairo")

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