summaryrefslogtreecommitdiff
path: root/var/spack/packages/pkg-config/package.py
blob: 9964c6ce3463cf48d095abbe4c66f9e037c25421 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from spack import *

class PkgConfig(Package):
    """pkg-config is a helper tool used when compiling applications and libraries"""
    homepage = "http://www.freedesktop.org/wiki/Software/pkg-config/"
    url      = "http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz"

    version('0.28', 'aa3c86e67551adc3ac865160e34a2a0d')

    parallel = False

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

        make()
        make("install")