academic/samtools-legacy: Fix path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2543360899
commit
018c8dd8e4
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for samtools-legacy
|
||||
|
||||
# Copyright 2013-2018 Petar Petrov slackalaxy@gmail.com
|
||||
# Copyright 2013-2019 Petar Petrov slackalaxy@gmail.com
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -29,7 +29,7 @@ SRCNAM=samtools
|
|||
SUFFIX=legacy
|
||||
PRGNAM=${SRCNAM}-${SUFFIX}
|
||||
VERSION=${VERSION:-0.1.19}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -84,12 +84,12 @@ make razip
|
|||
# Install samtools, razip and bam library
|
||||
install -D -m755 samtools $PKG/usr/bin/samtools-$SUFFIX
|
||||
install -D -m755 razip $PKG/usr/bin/razip-$SUFFIX
|
||||
install -D -m644 libbam.a $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/libbam.a
|
||||
install -D -m644 libbam.a $PKG/usr/lib${LIBDIRSUFFIX}/libbam.a
|
||||
|
||||
# Install bcftools its library and vsfutils
|
||||
cd bcftools
|
||||
install -D -m755 bcftools $PKG/usr/bin/bcftools-$SUFFIX
|
||||
install -D -m644 libbcf.a $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/libbcf.a
|
||||
install -D -m644 libbcf.a $PKG/usr/lib${LIBDIRSUFFIX}/libbcf.a
|
||||
install -D -m755 vcfutils.pl $PKG/usr/bin/vcfutils-$SUFFIX.pl
|
||||
|
||||
# Include additional executables
|
||||
|
@ -110,9 +110,9 @@ cp -a \
|
|||
|
||||
# Include bam header files
|
||||
cd ..
|
||||
mkdir -p $PKG/usr/include/bam-$SUFFIX
|
||||
mkdir -p $PKG/usr/include/bam
|
||||
for f in *.h ; do
|
||||
install -m644 $f "$PKG/usr/include/bam-$SUFFIX"
|
||||
install -m644 $f "$PKG/usr/include/bam"
|
||||
done
|
||||
|
||||
# Install manpage
|
||||
|
|
Loading…
Reference in New Issue