From 6ce7d1b34ab4d251a5dd19b47ff8415d74edead2 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Sun, 22 May 2022 00:30:54 +0000 Subject: user/modules: new package. --- user/modules/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/modules/APKBUILD (limited to 'user/modules') diff --git a/user/modules/APKBUILD b/user/modules/APKBUILD new file mode 100644 index 000000000..4d0dc0ee2 --- /dev/null +++ b/user/modules/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Zach van Rijn +# Maintainer: Zach van Rijn +pkgname=modules +pkgver=5.1.0 +pkgrel=0 +pkgdesc="Environment Modules provides for the dynamic modification of a user's environment." +url="http://modules.sourceforge.net/" +arch="all" +license="GPL-2.0+" +depends="" +makedepends="tcl-dev" +checkdepends="dejagnu" +subpackages="$pkgname-doc" +source="https://github.com/cea-hpc/modules/releases/download/v$pkgver/modules-$pkgver.tar.bz2" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + rm testsuite/modules.70-maint/310-sh-to-mod.exp #697 + make test +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="f0d443dcfe32f6fc87af387b975b4e2694ade7bbc7e4f990084896e89708ebf2496c274350702598ec1fcfcab6ff0d771d1e4947a414e0880ea701f568fb01d9 modules-5.1.0.tar.bz2" -- cgit v1.2.3-70-g09d2