public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/LINKS/
Date: Mon, 29 Nov 2021 11:41:32 +0000 (UTC)	[thread overview]
Message-ID: <1638186076.5db6563203432be7454b285bba50fc79daaac21d.mmokrejs@gentoo> (raw)

commit:     5db6563203432be7454b285bba50fc79daaac21d
Author:     Martin Mokrejs <mmokrejs <AT> gmail <DOT> com>
AuthorDate: Mon Nov 29 11:41:16 2021 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Mon Nov 29 11:41:16 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5db65632

sci-biology/LINKS: remove keywords

This package is supposed to be executed from within compiled
source tree. See comments in the ebuild what needs to be fixed.

https://github.com/bcgsc/LINKS/pull/59
https://github.com/bcgsc/LINKS/issues/31

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Martin Mokrejs <mmokrejs <AT> gmail.com>

 sci-biology/LINKS/LINKS-1.8.7.ebuild | 31 ++++++++++++++++++++++++++++---
 1 file changed, 28 insertions(+), 3 deletions(-)

diff --git a/sci-biology/LINKS/LINKS-1.8.7.ebuild b/sci-biology/LINKS/LINKS-1.8.7.ebuild
index 5009e9922..898898b94 100644
--- a/sci-biology/LINKS/LINKS-1.8.7.ebuild
+++ b/sci-biology/LINKS/LINKS-1.8.7.ebuild
@@ -9,17 +9,42 @@ SRC_URI="https://github.com/bcgsc/LINKS/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
 
 RESTRICT="test"
 
 RDEPEND="
 	>=dev-lang/perl-1.6
 	dev-lang/swig
-	sci-biology/btl_bloomfilter
+	dev-util/cppcheck
 "
+#	sci-biology/btl_bloomfilter
+
+src_compile(){
+	cd btllib | die "Cannot chdir to bundled btllib/"
+	./compile-wrappers || die "Failed to compile bundled btllib"
+	# baah, this also does some kind of install
+	# SUCCESS: sdsl was installed successfully!
+	# The sdsl include files are located in $foo'/LINKS/btllib/external/sdsl-lite/installdir/include'.
+	# The library files are located in $foo'/LINKS/btllib/external/sdsl-lite/installdir/lib'.
+	#
+	# Sample programs can be found in the examples-directory.
+	# A program 'example.cpp' can be compiled with the command:
+	# g++ -std=c++11 -DNDEBUG -O3 [-msse4.2] \
+	#    -I$foo/LINKS/btllib/external/sdsl-lite/installdir/include -L$foo/LINKS/btllib/external/sdsl-lite/installdir/lib \
+	#    example.cpp -lsdsl -ldivsufsort -ldivsufsort64
+	#
+	# Tests in the test-directory
+	# A cheat sheet in the extras/cheatsheet-directory.
+	# Have fun!
+	# [2/3] Installing files.
+	# Installing extras/python/_btllib.so to $foo/LINKS/btllib/python
+	# Installing $foo/LINKS/btllib/extras/python/btllib.py to $foo/LINKS/btllib/python
+}
 
 src_install(){
-	dobin bin/LINKS *.pl releases/links_v1.8.5/tools/*.pl
+	sed -e 's#$(bin)/../src/##' -i bin/LINKS-make || die
+	sed -e 's#perl $(bin)/##' -i bin/LINKS-make || die
+	dobin bin/LINKS bin/LINKS-make src/LINKS_CPP bin/*.pl tools/*.pl
 	dodoc README.md
 }


             reply	other threads:[~2021-11-29 11:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-29 11:41 Martin Mokrejs [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/LINKS/ Andrew Ammerlaan
2022-01-25 13:32 Andrew Ammerlaan
2021-10-17 15:56 Martin Mokrejs
2021-10-17 15:42 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=1638186076.5db6563203432be7454b285bba50fc79daaac21d.mmokrejs@gentoo \
    --to=mmokrejs@fold.natur.cuni.cz \
    --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