diff options
author | Zach van Rijn <me@zv.io> | 2022-05-22 00:30:54 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:58 -0500 |
commit | 6ce7d1b34ab4d251a5dd19b47ff8415d74edead2 (patch) | |
tree | 3b6210e4598144f3078a1adeba275da04d22dc9d /user/modules/APKBUILD | |
parent | 02ebadd5b2cefa0858d662c0bdbaaee003001fa3 (diff) | |
download | packages-6ce7d1b34ab4d251a5dd19b47ff8415d74edead2.tar.gz packages-6ce7d1b34ab4d251a5dd19b47ff8415d74edead2.tar.bz2 packages-6ce7d1b34ab4d251a5dd19b47ff8415d74edead2.tar.xz packages-6ce7d1b34ab4d251a5dd19b47ff8415d74edead2.zip |
user/modules: new package.
Diffstat (limited to 'user/modules/APKBUILD')
-rw-r--r-- | user/modules/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
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 <me@zv.io> +# Maintainer: Zach van Rijn <me@zv.io> +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" |