Created
July 5, 2016 20:15
-
-
Save truatpasteurdotfr/e149b23626e07970ee61cbce2fcae73f to your computer and use it in GitHub Desktop.
draft for singularity on alpine linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor: Tru Huynh <[email protected]> | |
Maintainer: Tru Huynh <[email protected]> | |
pkgname=singularity | |
pkgver=2.1 | |
pkgrel=0 | |
pkgdesc="Singularity: Application containers for Linux" | |
url="http://singularity.lbl.gov" | |
arch="x86_64" | |
license="LNL" | |
depends="" | |
depends_dev="autoconf automake gcc make libtool linux-headers" | |
#depends_dev="" | |
makedepends="$depends_dev" | |
install="" | |
subpackages="$pkgname-dev $pkgname-doc" | |
source="${pkgname}-${pkgver}.zip::https://github.com/gmkurtzer/singularity/archive/master.zip" | |
#source="${pkgname}-${pkgver}.tar.gz::https://github.com/gmkurtzer/singularity/archive/2.1.tar.gz" | |
builddir=singularity-master | |
build() { | |
cd "$builddir" | |
./autogen.sh | |
./configure \ | |
--build=$CBUILD \ | |
--host=$CHOST \ | |
--prefix=/usr \ | |
--sysconfdir=/etc \ | |
--mandir=/usr/share/man \ | |
--localstatedir=/var \ | |
|| return 1 | |
make || return 1 | |
} | |
package() { | |
cd "$builddir" | |
make DESTDIR="$pkgdir" install || return 1 | |
} | |
md5sums="2e5f6254ae233b357a3a6e138ab424e3 singularity-2.1.zip" | |
sha256sums="9face6f23b9f8876b4ee2dde2cd84091502396cdf483c44db325c82247caaa68 singularity-2.1.zip" | |
sha512sums="eedc4d875f74a79e324287025a5c8ecfd3bb66aaa7f7c52b79da572d7c89d00dfcbd8f21ef7cb0f63f0fcb2b3c6ce59f4da03ed7f758e3b0a3f93fbac5e99e71 singularity-2.1.zip" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LOL/missed the # for Contributor and Maintainer, but that fails with