diff options
Diffstat (limited to 'user/modules')
-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" |