Install this version:
emerge -a =sci-biology/sabre-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-biology/sabre-9999
Or alternatively:
emerge --autounmask-write -a =sci-biology/sabre-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 7 | 0 |
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Barcode demultiplexing and trimming tool for Illumina FastQ files"
HOMEPAGE="https://github.com/najoshi/sabre"
if [ "$PV" == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/najoshi/sabre.git"
else
SRC_URI=""
KEYWORDS=""
fi
LICENSE="MIT" # almost verbatim
SLOT="0"
DEPEND="virtual/zlib:="
RDEPEND="${DEPEND}"
src_prepare(){
default
sed -e "s#OPT = -O3#OPT = ${CFLAGS}#" \
-e "s#CC = gcc#CC = $(tc-getCC)#" -i Makefile || die
}
src_install(){
dobin sabre
}
virtual/zlib:=
virtual/zlib:=