aboutsummaryrefslogtreecommitdiff
blob: c790d5b86c72ae2c752e22507980bb8993c46fea (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
32
33
34
35
36
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils eutils toolchain-funcs

[ "$PV" == "9999" ] && inherit git-r3

DESCRIPTION="Windowed adaptive quality-based trimming tool for FASTQ data from Illumina/Solexa"
HOMEPAGE="https://github.com/najoshi/sickle"
if [ "$PV" == "9999" ]; then
	EGIT_REPO_URI="https://github.com/najoshi/sickle"
	KEYWORDS=""
else
	SRC_URI="https://github.com/najoshi/sickle/archive/v"${PV}".tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}
	sys-libs/zlib"

src_prepare(){
	sed -e "s#-pedantic#-pedantic ${CFLAGS}#;s#gcc#"$(tc-getCC)"#" -i Makefile || die
}

src_install(){
	dobin sickle
	dodoc README.md
}