aboutsummaryrefslogtreecommitdiff
blob: 9360c60408da518ec382e533bcabb8f179c6cd60 (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
# Copyright 2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Cobbler and RAILS scaffolding tools"
HOMEPAGE="https://github.com/bcgsc/RAILS"
SRC_URI="https://github.com/bcgsc/RAILS/archive/v1.4.1.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}
	dev-lang/perl
	sci-biology/samtools"
BDEPEND=""

src_prepare(){
	# remove hardcoded PATHs
	sed -e 's@^\.\./@@g' -e 's@^export PATH=/gsc/btl/linuxbrew@#&1@' -i bin/runRAILS.sh || die
	default
}

src_install(){
	dobin bin/*
	dodoc readme.md paper/paper.pdf
}