1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit versionator toolchain-funcs
7 MY_PV=$(replace_all_version_separators '-')
9 DESCRIPTION="Cis-eLement OVERrepresentation: Detection of functional DNA motifs"
10 HOMEPAGE="http://zlab.bu.edu/clover/"
11 SRC_URI="http://zlab.bu.edu/~mfrith/downloads/${MY_P}.tar.gz
12 http://zlab.bu.edu/clover/jaspar2005core"
22 S="${WORKDIR}/${MY_P}"
26 sed -i "s:g++:$(tc-getCXX):; s:-Wall -O3:${CFLAGS}:" Makefile || die "sed failed"
30 emake || die "emake failed"
35 insinto /usr/share/${PN}
36 doins "${DISTDIR}"/jaspar2005core || die "doins failed"
40 elog "The motif library jaspar2005core has been installed in"
41 elog " /usr/share/clover/jaspar2005core"
42 elog "You can pass this library to clover for motif search, or use your own library."