Parent Directory
|
Revision Log
sci-biology/last: Version BUmp, allows to compile with gcc-4.7, #422573 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
| 1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/sci-biology/last/last-192.ebuild,v 1.1 2012/02/10 18:01:44 jlec 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 \ |
| 29 | -e -C src \ |
| 30 | CXX="$(tc-getCXX)" \ |
| 31 | CC="$(tc-getCC)" \ |
| 32 | STRICT="" || die |
| 33 | } |
| 34 | |
| 35 | src_install() { |
| 36 | dobin src/last{al,db,ex} |
| 37 | exeinto /usr/share/${PN}/scripts |
| 38 | doexe scripts/* |
| 39 | dodoc doc/*.txt ChangeLog.txt README.txt |
| 40 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.20 |