diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2008-05-23 17:28:35 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2008-05-23 17:28:35 +0000 |
commit | e397e649c95752c35237981b6750095fbf33359b (patch) | |
tree | d00d66ba5daa8509775dfab9b4076e38bf6f44c0 /sci-biology/blat/blat-34.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-e397e649c95752c35237981b6750095fbf33359b.tar.gz gentoo-2-e397e649c95752c35237981b6750095fbf33359b.tar.bz2 gentoo-2-e397e649c95752c35237981b6750095fbf33359b.zip |
New package from sunrise, bug 135307
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-biology/blat/blat-34.ebuild')
-rw-r--r-- | sci-biology/blat/blat-34.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-biology/blat/blat-34.ebuild b/sci-biology/blat/blat-34.ebuild new file mode 100644 index 000000000000..2852feece89c --- /dev/null +++ b/sci-biology/blat/blat-34.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/blat/blat-34.ebuild,v 1.1 2008/05/23 17:28:35 weaver Exp $ + +inherit toolchain-funcs + +DESCRIPTION="The BLAST-Like Alignment Tool, a fast genomic sequence aligner" +LICENSE="blat" +HOMEPAGE="http://www.cse.ucsc.edu/~kent/" +SLOT="0" +IUSE="" +KEYWORDS="~x86" + +MY_PN="${PN}Src" +SRC_URI="http://www.soe.ucsc.edu/~kent/src/${MY_PN}${PV}.zip" +S="${WORKDIR}/${MY_PN}" + +DEPEND="app-arch/unzip" +RDEPEND="" + +src_compile() { + MACHTYPE=$(tc-arch) + [[ ${MACHTYPE} == "x86" ]] && MACHTYPE="i386" + sed -i 's/-Werror//; s/CFLAGS=//;' "${S}/inc/common.mk" + sed -i 's/\(${STRIP} \)/#\1/' "${S}"/{*/makefile,utils/*/makefile,*/*.mk} + mkdir -p "${S}/bin/${MACHTYPE}" + emake MACHTYPE="${MACHTYPE}" HOME="${S}" || die "emake failed" +} + +src_install() { + MACHTYPE=$(tc-arch) + [[ ${MACHTYPE} == "x86" ]] && MACHTYPE="i386" + dobin "${S}/bin/${MACHTYPE}/"* +} |