You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-biology/rmblast/rmblast-1.2.ebuild

47 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/rmblast/rmblast-1.2.ebuild,v 1.3 2012/10/31 20:41:32 flameeyes Exp $
EAPI="3"
inherit flag-o-matic toolchain-funcs
MY_NCBI_BLAST_V=2.2.23+
DESCRIPTION="RepeatMasker compatible version of NCBI BLAST+"
HOMEPAGE="http://www.repeatmasker.org/RMBlast.html"
SRC_URI="http://www.repeatmasker.org/rmblast-${PV}-ncbi-blast-${MY_NCBI_BLAST_V}-src.tar.gz"
LICENSE="OSL-2.1"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
DEPEND=">=dev-libs/boost-1.35.0"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}-ncbi-blast-${MY_NCBI_BLAST_V}-src/c++"
src_prepare() {
filter-ldflags -Wl,--as-needed
sed -i -e 's/-print-file-name=libstdc++.a//' \
-e '/sed/ s/\([gO]\[0-9\]\)\*/\1\\+/' \
src/build-system/configure || die
}
src_configure() {
tc-export CXX CC
"${S}"/configure --without-debug \
--with-mt \
--without-static \
--with-dll \
--prefix="${ED}"/opt/${PN} \
--with-boost=/usr/include/boost-1_35/boost \
|| die
}
src_install() {
emake install || die
}