diff options
author | 2016-12-07 17:33:02 +0100 | |
---|---|---|
committer | 2016-12-07 17:33:02 +0100 | |
commit | ace9d9a8850aa50ffe6efc2948260a3195017664 (patch) | |
tree | cea3c6ed4b9b620d33611e3b5778e4555151aade /dev-perl | |
parent | sci-biology/annovar: new package (diff) | |
download | sci-ace9d9a8850aa50ffe6efc2948260a3195017664.tar.gz sci-ace9d9a8850aa50ffe6efc2948260a3195017664.tar.bz2 sci-ace9d9a8850aa50ffe6efc2948260a3195017664.zip |
dev-perl/Bio-DB-HTS: new package requiring sci-libs/[static-libs] and using -rpath
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.3.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.3.ebuild b/dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.3.ebuild index e1951cc43..bbc4011e5 100644 --- a/dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.3.ebuild +++ b/dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.3.ebuild @@ -4,8 +4,8 @@ EAPI=5 -# this is https://metacpan.org/pod/Bio::DB::HTS and not https://metacpan.org/pod/Bio::HTS -# this is https://github.com/Ensembl/Bio-DB-HTS +# this is https://metacpan.org/pod/Bio::DB::HTS and https://github.com/Ensembl/Bio-DB-HTS +# this is not https://metacpan.org/pod/Bio::HTS MODULE_AUTHOR="RISHIDEV" inherit perl-module multilib toolchain-funcs @@ -13,18 +13,25 @@ DESCRIPTION="Enable rapid access to bgzipped FASTA files" #LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="" DEPEND="${RDEPEND} dev-perl/Module-Build - sci-libs/htslib" + sci-libs/htslib[static-libs]" SRC_TEST="do" src_prepare(){ - # https://github.com/Ensembl/Bio-HTS/issues/15 # https://github.com/Ensembl/Bio-HTS/issues/30 - HTSLIB_LIBDIR="${EPREFIX}"/"$(get_libdir)" HTSLIB_INCDIR="${EPREFIX}"/usr/include/htslib perl-module_src_prepare + export HTSLIB_LIBDIR="${EPREFIX}"/"$(get_libdir)" # currently ignored + export HTSLIB_INCDIR="${EPREFIX}"/usr/include/htslib # currently ignored + export HTSLIB_DIR="${EPREFIX}"/usr # useless, Build.PL will not invent /usr/lib64/ is the correct answer + perl-module_src_prepare } + +# is the below -rpath acceptable? +# x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native -Wl,-O1 -Wl,--as-needed -o blib/arch/auto/Bio/DB/HTS/HTS.so lib/Bio/DB/HTS.o -L/usr/lib -Wl,-rpath,/usr/lib -lhts -lpthread -lz +# x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native -Wl,-O1 -Wl,--as-needed -o blib/arch/auto/Bio/DB/HTS/Faidx/Faidx.so lib/Bio/DB/HTS/Faidx.o -L/usr/lib -Wl,-rpath,/usr/lib -lhts -lpthread -lz + |