Browse Source

l/dssi:

l/vamp-plugin-sdk:
  Fix pkgconfig files under Slackware64.
slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
15a277ad48
  1. 7
      l/dssi/dssi.SlackBuild
  2. 5
      l/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild

7
l/dssi/dssi.SlackBuild

@ -35,7 +35,7 @@ WGET=${WGET:-http://puzzle.dl.sourceforge.net/sourceforge/dssi/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-dssi}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-3GGD}
ARCH=${ARCH:-i486}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -96,6 +96,11 @@ CXXFLAGS=$CPUOPT \
make -j $JOBS
make install-strip DESTDIR=$PKG
# On Slackware64, fix pkgconfig
if [ "x$ARCH" = xx86_64 ] ; then
sed -i 's/lib$/lib64/' $PKG/usr/lib64/pkgconfig/dssi.pc
fi
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;

5
l/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild

@ -35,7 +35,7 @@ WGET=${WGET:-http://ovh.dl.sourceforge.net/sourceforge/vamp/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-vamp-plugin-sdk}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-3GGD}
ARCH=${ARCH:-i486}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -94,10 +94,11 @@ make install DESTDIR=$PKG
# Remove static libraries
find $PKG/usr/lib -name '*.a' -delete
# On Slackware64, move libraries to the right place
# On Slackware64, move libraries to the right place and fix pkgconfigs
# (configure's --libdir is ignored by generated Makefiles)
if [ "x$ARCH" = xx86_64 ]; then
mv $PKG/usr/lib $PKG/usr/lib64
sed -i 's/lib$/lib64/' $PKG/usr/lib64/pkgconfig/vamp{,-sdk}.pc
fi
# Strip binaries

Loading…
Cancel
Save