summaryrefslogblamecommitdiff
path: root/user/modules/APKBUILD
blob: 4d0dc0ee2fd827df4f4b2539a200f717bac0194f (plain) (tree)



































                                                                                                                                                                    
# 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"