summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fish/package.py
blob: b5a4a2d209ef5d4144e87e525d11c5db8843147c (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 Fish(Package):
    """fish is a smart and user-friendly command line shell for OS X, Linux, and
    the rest of the family.
    """

    homepage = "http://fishshell.com/"
    url      = "http://fishshell.com/files/2.2.0/fish-2.2.0.tar.gz"
    list_url = "http://fishshell.com/files/"
    list_depth = 2

    version('2.2.0', 'a76339fd14ce2ec229283c53e805faac48c3e99d9e3ede9d82c0554acfc7b77a')

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

        make()
        make("install")