commit:     e9a2b3ddeae5c85652ba3c6758a00a7f22d9203c
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 10 13:29:21 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 13:29:21 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e9a2b3dd

sci-biology/BRANCH: Move from git-2 to git-r3 eclass; add HOMEPAGE; be verbose 
during compilation; install docs

Package-Manager: portage-2.2.15

---
 sci-biology/BRANCH/BRANCH-9999.ebuild | 15 ++++++++-------
 sci-biology/BRANCH/ChangeLog          |  4 ++++
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/sci-biology/BRANCH/BRANCH-9999.ebuild 
b/sci-biology/BRANCH/BRANCH-9999.ebuild
index 74be1b1..923f5b4 100644
--- a/sci-biology/BRANCH/BRANCH-9999.ebuild
+++ b/sci-biology/BRANCH/BRANCH-9999.ebuild
@@ -4,12 +4,12 @@
 
 EAPI=5
 
-[ "$PV" == "9999" ] && inherit git-2
+[ "$PV" == "9999" ] && inherit git-r3
 
-inherit eutils
+inherit eutils toolchain-funcs
 
 DESCRIPTION="Extend partial transcripts with sequence from other reads or 
genomic contigs"
-HOMEPAGE=""
+HOMEPAGE="https://github.com/baoe/BRANCH";
 if [ "$PV" == "9999" ]; then
        EGIT_REPO_URI="https://github.com/baoe/BRANCH";
        KEYWORDS=""
@@ -18,20 +18,21 @@ else
        KEYWORDS=""
 fi
 
-
 LICENSE="Artistic-2"
 SLOT="0"
 IUSE=""
 
-DEPEND="sci-biology/blat
+DEPEND="
+       sci-biology/blat
        sci-libs/lemon"
 RDEPEND="${DEPEND}"
 
 src_compile(){
-       cd BRANCH || die
-       g++ -o BRANCH BRANCH.cpp -lemon -lpthread || die
+       einfo "$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o BRANCH BRANCH.cpp -lemon 
-lpthread"
+       $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o BRANCH/BRANCH BRANCH/BRANCH.cpp 
-lemon -lpthread || die
 }
 
 src_install(){
        dobin BRANCH/BRANCH
+       dodoc README.md
 }

diff --git a/sci-biology/BRANCH/ChangeLog b/sci-biology/BRANCH/ChangeLog
index 8954ba6..03ab1fc 100644
--- a/sci-biology/BRANCH/ChangeLog
+++ b/sci-biology/BRANCH/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 Jan 2015; Justin Lecher <[email protected]> BRANCH-9999.ebuild:
+  Move from git-2 to git-r3 eclass; add HOMEPAGE; be verbose during
+  compilation; install docs
+
 *BRANCH-9999 (07 Jan 2015)
 
   07 Jan 2015; Martin Mokrejs <[email protected]>

Reply via email to