Browse Source

ap/EMBOSS: Isolate EMBOSS headers in a subdirectory.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
7f6d6b255c
  1. 8
      ap/EMBOSS/EMBOSS.SlackBuild

8
ap/EMBOSS/EMBOSS.SlackBuild

@ -35,7 +35,7 @@ WGET=${WGET:-ftp://emboss.open-bio.org/pub/EMBOSS/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-EMBOSS}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
JOBS=${JOBS:-1}
@ -94,6 +94,11 @@ if [ ! -r rebase.tar.gz ]; then
fi
# Compile
# EMBOSS insists on using its own copies of some available libraries
# such as zlib, expat and pcre. I do not want to start patching the
# build system heavily (as Debian or Fedora seem to do), so at least
# I need to prevent replacing the system headers, hence the
# --includedir=/usr/include/EMBOSS to isolate EMBOSS headers.
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
@ -103,6 +108,7 @@ CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--includedir=/usr/include/EMBOSS \
$ENABLE64 \
--disable-dependency-tracking \
--disable-static \

Loading…
Cancel
Save