aboutsummaryrefslogtreecommitdiff
blob: d0ce2d336292a5e41664aca97c1871dba366e7da (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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit flag-o-matic git-r3 toolchain-funcs

DESCRIPTION="DNA mapper for single-end reads to detect structural variants (SV)"
HOMEPAGE="https://github.com/GregoryFaust/yaha"
EGIT_REPO_URI="git://github.com/GregoryFaust/yaha.git"

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

PATCHES=(
	"${FILESDIR}"/${P}-fpermissive.patch
	"${FILESDIR}"/${P}-buildsystem.patch
)

src_prepare() {
	default
	append-cflags '-DCOMPILE_USER_MODE' '-DBUILDNUM=$(BUILDNUM)' -std=gnu99
	append-cxxflags '-DCOMPILE_USER_MODE' '-DBUILDNUM=$(BUILDNUM)'
	tc-export CC CXX
	export CFLAGS
	export CXXFLAGS
}

src_install(){
	dobin bin/yaha
	dodoc YAHA_User_Guide.0.1.83.pdf
	dodoc README.md
}