summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorsnehring <snehring@users.noreply.github.com>2022-05-10 19:26:54 -0500
committerGitHub <noreply@github.com>2022-05-11 00:26:54 +0000
commitbe45292a9c7139984c4929a35a7db19265543ff5 (patch)
treeb6596557815a8cb1bb3c5985c3ecf468259e5b6b /var
parent61f8c97bb7566c8b0c17d289e87d9f34df64bcd5 (diff)
downloadspack-be45292a9c7139984c4929a35a7db19265543ff5.tar.gz
spack-be45292a9c7139984c4929a35a7db19265543ff5.tar.bz2
spack-be45292a9c7139984c4929a35a7db19265543ff5.tar.xz
spack-be45292a9c7139984c4929a35a7db19265543ff5.zip
last: updating to 1282 (#30606)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/last/package.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/last/package.py b/var/spack/repos/builtin/packages/last/package.py
index 94bda8ca96..be21c7cc92 100644
--- a/var/spack/repos/builtin/packages/last/package.py
+++ b/var/spack/repos/builtin/packages/last/package.py
@@ -13,8 +13,19 @@ class Last(MakefilePackage):
homepage = "http://last.cbrc.jp/"
url = "http://last.cbrc.jp/last-869.zip"
+ git = "https://gitlab.com/mcfrith/last.git"
+ maintainers = ['snehring']
+ version('1282', commit='4368be912f4759e52b549940276f1adf087f489a')
version('869', sha256='6371a6282bc1bb02a5e5013cc463625f2ce3e7746ff2ea0bdf9fe6b15605a67c')
+ def edit(self, spec, prefix):
+ files = ['mat-doc.sh', 'mat-inc.sh', 'seed-doc.sh', 'seed-inc.sh']
+ if spec.satisfies('@1282:'):
+ files.append('gc-inc.sh')
+ with working_dir('build'):
+ for f in files:
+ set_executable(f)
+
def install(self, spec, prefix):
make('install', 'prefix=%s' % prefix)