36 lines
857 B
Bash
36 lines
857 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-biology/yass/yass-1.14-r1.ebuild,v 1.2 2010/06/21 15:31:51 jlec Exp $
|
|
|
|
EAPI="2"
|
|
|
|
inherit autotools eutils
|
|
|
|
DESCRIPTION="Genomic similarity search with multiple transition constrained spaced seeds"
|
|
HOMEPAGE="http://bioinfo.lifl.fr/yass/"
|
|
SRC_URI="http://bioinfo.lifl.fr/yass/files/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
IUSE="dmalloc lowmem threads"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="dmalloc? ( dev-libs/dmalloc )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${PV}-as-needed.patch
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_enable threads) \
|
|
$(use_enable lowmem lowmemory) \
|
|
$(use_with dmalloc)
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die
|
|
dodoc AUTHORS README NEWS || die
|
|
}
|