2012-02-06 16:39:49 +04:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
inherit eutils toolchain-funcs
|
|
|
|
|
|
|
|
DESCRIPTION="Estimated Locations of Pattern Hits - Motif finder program"
|
|
|
|
LICENSE="Artistic"
|
|
|
|
HOMEPAGE="http://cbcb.umd.edu/software/ELPH/"
|
|
|
|
SRC_URI="ftp://ftp.cbcb.umd.edu/pub/software/elph/ELPH-${PV}.tar.gz"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
|
|
|
|
|
|
S=${WORKDIR}/ELPH/sources
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
emake CC="$(tc-getCXX)" LINKER="$(tc-getCXX)" \
|
|
|
|
CFLAGS="${CXXFLAGS} -D_REENTRANT" LDFLAGS="${LDFLAGS}" || die
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dobin elph || die "Failed to install program."
|
|
|
|
cd "${WORKDIR}"/ELPH
|
|
|
|
dodoc VERSION || die "Documentation installation failed."
|
|
|
|
newdoc Readme.ELPH README || die "Readme installation failed."
|
|
|
|
}
|