aboutsummaryrefslogtreecommitdiff
blob: 318f91801455c0f1753674e0e5e9ad781ae1d696 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

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=""
IUSE=""

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
}