blob: db99ec960230d5859382de4a4c19d7fa62b65635 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 toolchain-funcs
DESCRIPTION="Provide random access to text files BGZF compressed with bgzip"
HOMEPAGE="https://github.com/arq5x/grabix"
EGIT_REPO_URI="https://github.com/arq5x/grabix.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
DEPEND=""
RDEPEND="${DEPEND}"
src_compile(){
"$(tc-getCC)" ${CFLAGS} -o grabix grabix_main.cpp grabix.cpp bgzf.c -lstdc++ -lz || die
}
src_install(){
dobin grabix
dodoc README.md
}
|