summaryrefslogtreecommitdiff
path: root/var/spack/packages/uncrustify/package.py
blob: d3f2d1b47305a212efcc6abc068ebc65b551d1f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from spack import *

class Uncrustify(Package):
    """Source Code Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA"""

    homepage = "http://uncrustify.sourceforge.net/"
    url      = "http://downloads.sourceforge.net/project/uncrustify/uncrustify/uncrustify-0.61/uncrustify-0.61.tar.gz"

    version('0.61', 'b6140106e74c64e831d0b1c4b6cf7727')

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