/[gentoo-x86]/sci-biology/samtools/samtools-0.1.12.ebuild
Gentoo

Contents of /sci-biology/samtools/samtools-0.1.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jul 18 01:50:51 2011 UTC (3 years, 2 months ago) by jlec
Branch: MAIN
Changes since 1.4: +2 -2 lines
Version Bump, #375519

(Portage version: 2.2.0_alpha45/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/samtools/samtools-0.1.12.ebuild,v 1.4 2011/04/30 11:12:50 jlec Exp $
4
5 EAPI=2
6
7 MY_P="${P}a"
8
9 DESCRIPTION="Utilities for SAM (Sequence Alignment/Map), a format for large nucleotide sequence alignments"
10 HOMEPAGE="http://samtools.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
12
13 LICENSE="MIT"
14 SLOT="0"
15 IUSE=""
16 KEYWORDS="amd64 x86"
17
18 S="${WORKDIR}/${MY_P}"
19
20 src_prepare() {
21 sed -i 's/^CFLAGS=/CFLAGS+=/' "${S}"/{Makefile,misc/Makefile}
22 }
23
24 src_install() {
25 dobin samtools || die
26 dobin $(find misc -type f -executable) || die
27 insinto /usr/share/${PN}
28 doins -r examples || die
29 doman ${PN}.1 || die
30 dodoc AUTHORS ChangeLog NEWS
31 }

  ViewVC Help
Powered by ViewVC 1.1.20