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

class Rsync(Package):
    """rsync is an open source utility that provides fast incremental file transfer."""
    homepage = "https://rsync.samba.org"
    url      = "https://download.samba.org/pub/rsync/rsync-3.1.1.tar.gz"

    version('3.1.1', '43bd6676f0b404326eee2d63be3cdcfe')

    # depends_on("foo")

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

        make()
        make("install")