Browse Source

xap/libreoffice: Use system libp11-kit library.

slackware-14.2
Damien Goutte-Gattat 7 years ago
parent
commit
4240857759
  1. 9
      xap/libreoffice/libreoffice.SlackBuild

9
xap/libreoffice/libreoffice.SlackBuild

@ -29,8 +29,10 @@
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
if [ "x$ARCH" == xx86_64 ]; then
SRCARCH="x86-64"
LIBDIRSUFFIX=64
else
SRCARCH="x86"
LIBDIRSUFFIX=
fi
# Source package infos
@ -44,7 +46,7 @@ HELPGET=http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$
# Built package infos
NAMEPKG=${NAMEPKG:-libreoffice}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
EXT=${EXT:-txz}
# Directories
@ -109,6 +111,11 @@ rmdir readmes
find $PKG/usr/doc/$NAMEPKG-$VERSION -type f -exec chmod 644 {} \;
cd -
# Use system libp11-kit.so library instead of libnssckbi.so
rm $PKG/opt/libreoffice4.3/program/libnssckbi.so
ln -s /usr/lib$LIBDIRSUFFIX/libp11-kit.so \
$PKG/opt/libreoffice4.3/program/libnssckbi.so
# Copy slack-desc and doinst.sh file
mkdir -p $PKG/install
install -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save