blob: 18c4128ec578f6c895579b5ea834a8b5494e2b3d (
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
36
37
38
39
40
41
42
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
MY_PN="${PN}Src"
DESCRIPTION="The BLAST-Like Alignment Tool, a fast genomic sequence aligner"
HOMEPAGE="http://www.cse.ucsc.edu/~kent/"
SRC_URI="http://www.soe.ucsc.edu/~kent/src/${MY_PN}${PV}.zip"
S="${WORKDIR}/${MY_PN}"
LICENSE="blat"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="app-arch/unzip"
PATCHES=(
"${FILESDIR}"/${PN}-34-fix-build-system.patch
"${FILESDIR}"/${PN}-34-fno-common.patch
)
src_compile() {
tc-export AR CC
export HOME="${S}"
export MACHTYPE="$(tc-arch)"
[[ ${MACHTYPE} == "x86" ]] && MACHTYPE="i386"
mkdir -p bin/${MACHTYPE} || die
default
}
src_install() {
export MACHTYPE="$(tc-arch)"
[[ ${MACHTYPE} == "x86" ]] && MACHTYPE="i386"
dobin bin/${MACHTYPE}/*
}
|