/[gentoo-x86]/sci-biology/last/last-162-r1.ebuild
Gentoo

Contents of /sci-biology/last/last-162-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Dec 15 18:58:48 2011 UTC (2 years, 9 months ago) by ago
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for AMD64, wrt bug #391545

(Portage version: 2.1.10.40/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-biology/last/last-162-r1.ebuild,v 1.3 2011/11/28 11:56:42 phajdan.jr Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Genome-scale comparison of biological sequences"
10 HOMEPAGE="http://last.cbrc.jp/"
11 SRC_URI="http://last.cbrc.jp/archive/${P}.zip"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 IUSE=""
16 KEYWORDS="amd64 x86"
17
18 DEPEND="app-arch/unzip"
19 RDEPEND=""
20
21 src_prepare() {
22 epatch \
23 "${FILESDIR}"/${PV}-ldflags.patch \
24 "${FILESDIR}"/${PV}-gcc46.patch
25 }
26
27 src_compile() {
28 emake -e -C src CXX="$(tc-getCXX)" \
29 STRICT="${LDFLAGS}" || die
30 }
31
32 src_install() {
33 dobin src/last{al,db,ex} || die
34 exeinto /usr/share/${PN}/scripts
35 doexe scripts/* || die
36 dodoc doc/*.txt ChangeLog.txt README.txt || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20