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

class Libedit(Package):
    """An autotools compatible port of the NetBSD editline library"""
    homepage = "http://thrysoee.dk/editline/"
    url      = "http://thrysoee.dk/editline/libedit-20150325-3.1.tar.gz"

    version('3.1', '43cdb5df3061d78b5e9d59109871b4f6', url="http://thrysoee.dk/editline/libedit-20150325-3.1.tar.gz")

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

        make()
        make("install")