summaryrefslogtreecommitdiff
blob: 0d679f703fed13ff0bd702745614cfadac2e2016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit eutils

DESCRIPTION="Application containers for Linux"
HOMEPAGE="http://singularity.lbl.gov/"
SRC_URI="https://github.com/${PN}ware/${PN}/releases/download/${PV}/${P}.tar.gz"

SLOT="0"
LICENSE="cctbx-2.0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples"

PATCHES=(
	"${FILESDIR}"/${P}-glibc-2.25.patch
)

src_configure() {
	econf --with-userns
}

src_install() {
	MAKEOPTS+=" -j1"
	default
	prune_libtool_files
	dodoc ChangeLog
	use examples && dodoc -r examples
}