diff options
author | David Seifert <soap@gentoo.org> | 2017-03-08 22:35:39 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-03-08 23:16:14 +0100 |
commit | eacdfe16dd975d80b8d261c56f20c5843299651b (patch) | |
tree | c68729a8c9f6a104d9d4cc7ac02f433016ee3b81 /sci-biology/blat/blat-34-r2.ebuild | |
parent | sci-biology/elph: Remove old (diff) | |
download | gentoo-eacdfe16dd975d80b8d261c56f20c5843299651b.tar.gz gentoo-eacdfe16dd975d80b8d261c56f20c5843299651b.tar.bz2 gentoo-eacdfe16dd975d80b8d261c56f20c5843299651b.zip |
sci-biology/blat: Modernise to EAPI 6
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4165
Diffstat (limited to 'sci-biology/blat/blat-34-r2.ebuild')
-rw-r--r-- | sci-biology/blat/blat-34-r2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-biology/blat/blat-34-r2.ebuild b/sci-biology/blat/blat-34-r2.ebuild new file mode 100644 index 000000000000..e10bc367a311 --- /dev/null +++ b/sci-biology/blat/blat-34-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +LICENSE="blat" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${MY_PN} + +PATCHES=( "${FILESDIR}"/${PN}-34-fix-build-system.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}/* +} |