Created attachment 359060 [details] ebuild for samtools-0.1.19 I attached an ebuild for samtools-0.1.19. Since it is my first ebuild submission, I would appreciate if you could have a critical look at it.
Comment on attachment 359060 [details] ebuild for samtools-0.1.19 --- samtools-0.1.18-r3.ebuild 2013-03-29 18:29:49.000000000 +0100 +++ - 2013-09-20 16:17:21.233383177 +0200 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/samtools/samtools-0.1.18-r3.ebuild,v 1.1 2013/03/29 17:29:49 jlec Exp $ +# $Header: $ EAPI=5 @@ -8,7 +8,7 @@ DESCRIPTION="Utilities for SAM (Sequence Alignment/Map), a format for large nucleotide sequence alignments" HOMEPAGE="http://samtools.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +SRC_URI="https://github.com/samtools/samtools/archive/${PV}.tar.gz" LICENSE="MIT" SLOT="0" @@ -21,15 +21,15 @@ src_prepare() { sed \ - -e '/^CC/s:=:?=:g' \ - -e "/^LIBCURSES/s:=.*$:= $(pkg-config --libs ncurses):g" \ - -e '/^CFLAGS=/s:=:?=:' \ + -e '/^CC=/ d' \ + -e "/^LIBCURSES/ s/=.*/= $(pkg-config --libs ncurses)/g" \ + -e '/^CFLAGS=/ d' \ -e "s/\$(CC) \$(CFLAGS)/& \$(LDFLAGS)/g" \ -e "s/-shared/& \$(LDFLAGS)/" \ -i "${S}"/{bcftools,misc,}/Makefile || die #358563 - sed -i 's~/software/bin/python~/usr/bin/env python~' "${S}"/misc/varfilter.py || die + sed -i 's:/software/bin/python:/usr/bin/env python:' "${S}"/misc/varfilter.py || die - tc-export CC + tc-export AR CC } src_compile() { @@ -47,7 +47,8 @@ doins bam.h bgzf.h faidx.h kaln.h khash.h kprobaln.h kseq.h ksort.h sam.h doman ${PN}.1 - dodoc AUTHORS ChangeLog NEWS + dodoc AUTHORS NEWS + newdoc ChangeLog.old Changelog if use examples; then insinto /usr/share/${PN}
+*samtools-0.1.19 (20 Sep 2013) + + 20 Sep 2013; Justin Lecher <jlec@gentoo.org> +samtools-0.1.19.ebuild, + +files/samtools-0.1.19-buildsystem.patch: + Version BUmp, #485450 +