Browse code

add r_arch consideration for Linux

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/seqbias@100943 bc3139a8-67e5-0310-9ffc-ced21a209358

Nathaniel Hayden authored on 20/03/2015 18:42:12
Showing 2 changed files

... ...
@@ -1,5 +1,5 @@
1 1
 Package: seqbias
2
-Version: 1.15.3
2
+Version: 1.15.4
3 3
 Date: 25-12-2010
4 4
 Title: Estimation of per-position bias in high-throughput sequencing
5 5
         data
... ...
@@ -1,7 +1,8 @@
1 1
 include Makevars.common
2 2
 
3 3
 SAMTOOLS_PATH=\
4
-    `echo 'cat(system.file("usrlib", package="Rsamtools", mustWork=TRUE))' |\
4
+    `echo 'cat(system.file("usrlib", .Platform[["r_arch"]], \
5
+        package="Rsamtools", mustWork=TRUE))' |\
5 6
         "${R_HOME}/bin/R" --vanilla --slave`
6 7
 SAMTOOLS_LIBS="$(SAMTOOLS_PATH)/libbam.a" "$(SAMTOOLS_PATH)/libbcf.a"\
7 8
     "$(SAMTOOLS_PATH)/libtabix.a" -lz -pthread