blob: c74b9187477eb98456aa97bff0c127b099720790 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/elph/elph-0.1.4.ebuild,v 1.2 2005/01/28 00:47:21 ribosome Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Estimated Locations of Pattern Hits - Motif finder program"
HOMEPAGE="http://www.tigr.org/software/ELPH/index.shtml"
SRC_URI="ftp://ftp.tigr.org/pub/software/ELPH/ELPH-${PV}.tar.gz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="x86"
IUSE=""
S="${WORKDIR}/ELPH/sources"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-usage.patch
sed -i -e "s/CC := g++/CC := $(tc-getCXX)/" Makefile
sed -i -e "s/-fno-exceptions -fno-rtti -D_REENTRANT -g/${CXXFLAGS}/" Makefile
sed -i -e "s/LINKER := g++/LINKER := $(tc-getCXX)/" Makefile
}
src_compile() {
make || die
}
src_install() {
dobin elph
cd ${WORKDIR}/ELPH
dodoc VERSION
newdoc Readme.ELPH README
}
|