From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/sra_sdk/
Date: Thu, 22 Sep 2011 23:35:58 +0000 (UTC) [thread overview]
Message-ID: <56a8bd4198774a33f0883a4cbcad0366e76e3473.mmokrejs@gentoo> (raw)
commit: 56a8bd4198774a33f0883a4cbcad0366e76e3473
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Sep 22 23:35:41 2011 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Sep 22 23:35:41 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=56a8bd41
sci-biology/sra_sdk-2.1.6: adjust to altered source tree strcuture, add weird ncbi/ subdirs to be installed, more comments in the ebuild
(Portage version: 2.1.10.19/git/Linux i686, unsigned Manifest commit)
---
sci-biology/sra_sdk/ChangeLog | 5 ++++
sci-biology/sra_sdk/sra_sdk-2.1.6.ebuild | 31 ++++++++++++++++++++++++++---
2 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/sci-biology/sra_sdk/ChangeLog b/sci-biology/sra_sdk/ChangeLog
index b1c199c..994dd91 100644
--- a/sci-biology/sra_sdk/ChangeLog
+++ b/sci-biology/sra_sdk/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Sep 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
+ sra_sdk-2.1.6.ebuild:
+ adjust to altered source tree strcuture, add weird ncbi/ subdirs to be
+ installed, more comments in the ebuild
+
*sra_sdk-2.1.6 (22 Sep 2011)
22 Sep 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
diff --git a/sci-biology/sra_sdk/sra_sdk-2.1.6.ebuild b/sci-biology/sra_sdk/sra_sdk-2.1.6.ebuild
index 86aee29..8e964bd 100644
--- a/sci-biology/sra_sdk/sra_sdk-2.1.6.ebuild
+++ b/sci-biology/sra_sdk/sra_sdk-2.1.6.ebuild
@@ -13,7 +13,7 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS=""
#KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="static"
DEPEND="app-shells/bash
sys-libs/zlib
@@ -29,22 +29,45 @@ src_compile(){
# -I/var/tmp/portage/sci-biology/sra_sdk-2.0.1/work/sra_sdk-2.0.1/interfaces/os/unix
LIBXML_INCLUDES="/usr/include/libxml2" make -j1 OUTDIR="${WORKDIR}"/objdir out || die
LIBXML_INCLUDES="/usr/include/libxml2" make -j1 OUTDIR="${WORKDIR}"/objdir || die
+
+ # COMP env variable may have 'GCC' or 'ICC' values
+ if use static; then
+ emake static
+ else
+ emake dynamic
+ fi
}
src_install(){
+ # for details see "${WORKDIR}"/sra_sdk-2.1.6/README-build
+
+ # BUG: at the moment every binary is installed three times, e.g.:
+ # -rwxr-xr-x 1 root root 1797720 Sep 23 01:31 abi-dump
+ # -rwxr-xr-x 1 root root 1797720 Sep 23 01:31 abi-dump.2
+ # -rwxr-xr-x 1 root root 1797720 Sep 23 01:31 abi-dump.2.1.6
if use amd64; then
- dobin "${WORKDIR}"/objdir/linux/rel/gcc/x86_64/bin/*
+ dobin "${WORKDIR}"/objdir/linux/pub/gcc/x86_64/bin/*
+ insinto /usr/bin/ncbi
+ dobin "${WORKDIR}"/objdir/linux/pub/gcc/x86_64/bin/ncbi/*
elif use x86; then
- dobin "${WORKDIR}"/objdir/linux/rel/gcc/i386/bin/*
+ dobin "${WORKDIR}"/objdir/linux/pub/gcc/i386/bin/*
+ insinto /usr/bin/ncbi
+ dobin "${WORKDIR}"/objdir/linux/pub/gcc/i386/bin/ncbi/*
fi
# mkdir -p ${D}/usr/bin || die
# for f in ${W}/objdir/linux/rel/gcc/i386/bin/*; do if [ ! -l "$f" ]; then cp "$f" ${D}/usr/bin || die "copy failed" ; fi; done
- # looks the binaries have the folllowing libs statically linked
+ # looks the binaries have the folllowing libs statically linked in so we do NOT need these files
# mkdir -p ${D}/usr/ilib || die
# dolib ${W}/objdir/linux/rel/gcc/i386/ilib/*
+ # insinto "${D}"/usr/lib/ncbi
+ # doins ${W}/objdir/linux/rel/gcc/i386/ilib/ncbi/*
# mkdir -p ${D}/usr/lib || die
# dolib ${W}/objdir/linux/rel/gcc/i386/lib/*
+ # insinto "${D}"/usr/lib/ncbi
+ # doins ${W}/objdir/linux/rel/gcc/i386/lib/ncbi/*
+
+ # same for mod/ and wmod/ subdirs
}
next reply other threads:[~2011-09-22 23:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 23:35 Martin Mokrejs [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-04 5:42 [gentoo-commits] proj/sci:master commit in: sci-biology/sra_sdk/ Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2015-09-22 8:19 Justin Lecher
2013-03-03 17:52 Justin Lecher
2012-12-28 19:19 Martin Mokrejs
2012-03-15 22:58 Martin Mokrejs
2012-03-15 21:23 Martin Mokrejs
2012-02-28 16:36 Martin Mokrejs
2012-02-28 16:35 Martin Mokrejs
2012-02-06 18:56 Martin Mokrejs
2012-02-06 18:26 Martin Mokrejs
2011-09-22 21:34 Martin Mokrejs
2011-07-30 11:08 Martin Mokrejs
2011-06-10 15:37 Martin Mokrejs
2011-06-10 15:30 Martin Mokrejs
2011-06-10 15:23 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=56a8bd4198774a33f0883a4cbcad0366e76e3473.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