blob: 4069e75f9395153deba55f844267f6b9c8cc01ab (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils eutils toolchain-funcs
[ "$PV" == "9999" ] && inherit git-r3
DESCRIPTION="Windowed adaptive quality-based trimming tool for FASTQ data"
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
}
|