Browse Source

l/libgcrypt: Upgraded to libgcrypt-1.7.8.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
cd89243a7c
  1. 1
      l/libgcrypt/libgcrypt-1.7.6.tar.bz2.sha1
  2. 1
      l/libgcrypt/libgcrypt-1.7.8.tar.bz2.sha256
  3. 17
      l/libgcrypt/libgcrypt.SlackBuild

1
l/libgcrypt/libgcrypt-1.7.6.tar.bz2.sha1

@ -1 +0,0 @@
d2b9e0f413064cfc67188f80d3cbda887c755a62 libgcrypt-1.7.6.tar.bz2

1
l/libgcrypt/libgcrypt-1.7.8.tar.bz2.sha256

@ -0,0 +1 @@
948276ea47e6ba0244f36a17b51dcdd52cfd1e664b0a1ac3bc82134fb6cec199 libgcrypt-1.7.8.tar.bz2

17
l/libgcrypt/libgcrypt.SlackBuild

@ -28,7 +28,7 @@
# Source package infos
NAMESRC=${NAMESRC:-libgcrypt}
VERSION=${VERSION:-1.7.6}
VERSION=${VERSION:-1.7.8}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://www.gnupg.org/ftp/gcrypt/libgcrypt/$ARCHIVE}
@ -77,7 +77,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -98,14 +98,6 @@ CXXFLAGS=$CPUOPT \
make -j $JOBS
make install-strip DESTDIR=$PKG
# Move the shared library to $PKG/lib$LIBDIRSUFFIX
mkdir -p $PKG/lib$LIBDIRSUFFIX
( cd $PKG/usr/lib$LIBDIRSUFFIX
mv libgcrypt.so.20.1.6 ../../lib$LIBDIRSUFFIX
ln -sf ../../lib$LIBDIRSUFFIX/libgcrypt.so.20.1.6 .
cp -a libgcrypt.so.20 ../../lib$LIBDIRSUFFIX
)
# Compress man and info pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
find $PKG/usr/info -type f -exec gzip -9 {} \;
@ -119,6 +111,11 @@ install -m 644 AUTHORS COPYING COPYING.LIB ChangeLog LICENSES NEWS \
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/slack-required
libgpg-error
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save