public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/ssaha2-bin/
Date: Sat, 25 Jun 2011 17:21:57 +0000 (UTC)	[thread overview]
Message-ID: <b6d26e31654a901b96d326eaef0e3c991fd9aad8.jlec@gentoo> (raw)

commit:     b6d26e31654a901b96d326eaef0e3c991fd9aad8
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 13:03:01 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 13:03:01 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b6d26e31

Cleaned ebuild and fixed LICENSE

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-biology/ssaha2-bin/ChangeLog               |    7 ++++
 sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild |   41 +++++++++--------------
 2 files changed, 23 insertions(+), 25 deletions(-)

diff --git a/sci-biology/ssaha2-bin/ChangeLog b/sci-biology/ssaha2-bin/ChangeLog
new file mode 100644
index 0000000..914725e
--- /dev/null
+++ b/sci-biology/ssaha2-bin/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sci-biology/ssaha2-bin
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  25 Jun 2011; Justin Lecher <jlec@gentoo.org> ssaha2-bin-2.5.3.ebuild:
+  Cleaned ebuild and fixed LICENSE
+

diff --git a/sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild b/sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild
index eaf02be..34b63dd 100644
--- a/sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild
+++ b/sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild
@@ -1,43 +1,34 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=4
 
 inherit toolchain-funcs
 
 DESCRIPTION="SSAHA2: Sequence Search and Alignment by Hashing Algorithm"
 HOMEPAGE="http://www.sanger.ac.uk/resources/software/ssaha2"
-SRC_URI="x86? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_i686.tgz )
-		amd64? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_x86_64.tgz )
-		ia64? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_ia64.tgz )
-		ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/samflag.c
-		ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2-manual.pdf"
-
-LICENSE="GRL"
+SRC_URI="
+	x86? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_i686.tgz )
+	amd64? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_x86_64.tgz )
+	ia64? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_ia64.tgz )
+	ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/samflag.c
+	ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2-manual.pdf"
+
+LICENSE="as-is"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-if use x86; then
-	S="${WORKDIR}"/ssaha2_v"${PV}"_i686
-fi
-if use amd64; then
-	S="${WORKDIR}"/ssaha2_v"${PV}"_x86_64
-fi
-if use ia64; then
-	S="${WORKDIR}"/ssaha2_v"${PV}"_ia64
-fi
+use x86 && S="${WORKDIR}"/ssaha2_v"${PV}"_i686
+use amd64 && S="${WORKDIR}"/ssaha2_v"${PV}"_x86_64
+use ia64 && S="${WORKDIR}"/ssaha2_v"${PV}"_ia64
 
 src_compile() {
-	$(tc-getCC) ${CFLAGS} -o samflag "${DISTDIR}"/samflag.c || die "Failed to compile samflags"
+	$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o samflag "${DISTDIR}"/samflag.c || die "Failed to compile samflags"
 }
 
 src_install() {
-	dobin samflag ssaha2 ssaha2Build ssahaSNP || die "dobin failed"
-	dodoc README || die "dodoc failed"
-	dodoc "${DISTDIR}"/ssaha2-manual.pdf || die "Failed to install ssaha2-manual.pdf"
+	dobin samflag ssaha2 ssaha2Build ssahaSNP
+	dodoc README "${DISTDIR}"/ssaha2-manual.pdf
 }



             reply	other threads:[~2011-06-25 17:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-25 17:21 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-25 19:15 [gentoo-commits] proj/sci:master commit in: sci-biology/ssaha2-bin/ Andrew Ammerlaan
2021-03-06 14:55 Andrew Ammerlaan
2021-02-05 11:51 Andrew Ammerlaan
2011-03-03  1:08 Martin Mokrejs
2011-03-03  1:08 Martin Mokrejs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b6d26e31654a901b96d326eaef0e3c991fd9aad8.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox