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

Contents of /sci-biology/last/last-184.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Nov 23 08:23:08 2011 UTC (3 years ago) by jlec
Branch: MAIN
Changes since 1.1: +12 -6 lines
Dropped old, respect LDFLAGS

(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)

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-184.ebuild,v 1.1 2011/09/25 22:45:35 weaver Exp $
4
5 EAPI=4
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 sed \
23 -e 's:-o $@:$(LDFLAGS) -o $@:g' \
24 -i src/makefile || die
25 }
26
27 src_compile() {
28 emake -e -C src CXX="$(tc-getCXX)" \
29 STRICT="" || die
30 }
31
32 src_install() {
33 dobin src/last{al,db,ex}
34 exeinto /usr/share/${PN}/scripts
35 doexe scripts/*
36 dodoc doc/*.txt ChangeLog.txt README.txt
37 }

  ViewVC Help
Powered by ViewVC 1.1.20