aboutsummaryrefslogtreecommitdiffstats
path: root/testing/singularity
diff options
context:
space:
mode:
authorkhm <khm@sciops.net>2018-01-02 21:19:23 -0800
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-01-10 15:42:09 +0000
commitbf74931a0d9026cb49c20e0ab36bef74cf3eec56 (patch)
tree2a850c467b829d741d08ef476303ae38225f8e0d /testing/singularity
parent39e5600b156be2c6b272a447ab16ce835daac907 (diff)
downloadaports-bf74931a0d9026cb49c20e0ab36bef74cf3eec56.tar.bz2
aports-bf74931a0d9026cb49c20e0ab36bef74cf3eec56.tar.xz
testing/singularity: new aport
Singularity is a container platform focused on "mobility of computing." It differs from other popular container platforms by not requiring users to have special privileges or any running daemons to work. Homepage at http://singularity.lbl.gov/
Diffstat (limited to 'testing/singularity')
-rw-r--r--testing/singularity/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/singularity/APKBUILD b/testing/singularity/APKBUILD
new file mode 100644
index 0000000000..11316499f1
--- /dev/null
+++ b/testing/singularity/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Kurt H Maier <khm@sciops.net>
+# Maintainer: Kurt H Maier <khm@sciops.net>
+pkgname=singularity
+pkgver=2.4.2
+pkgrel=0
+pkgdesc="A container platform focused on supporting 'Mobility of Compute'"
+url="http://singularity.lbl.gov/"
+arch="all"
+license="BSD-3-Clause-LBNL"
+depends="python"
+makedepends="autoconf automake libtool linux-headers"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/singularityware/singularity/releases/download/$pkgver/singularity-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-suid \
+ --with-userns
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="2c26af6cd092bc030113cdb2a79430d82d51b7438330a6cd0706e46438296feed4d86b08d57efff0b7df148ca0e08f706b8a214f03439bccd7d196714cd06dbc singularity-2.4.2.tar.gz"