Browse Source

l/libgpg-error: Upgraded to libgpg-error-1.27.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
d6915f3ff3
  1. 1
      l/libgpg-error/libgpg-error-1.25.tar.bz2.sha1
  2. 1
      l/libgpg-error/libgpg-error-1.27.tar.bz2.sha256
  3. 12
      l/libgpg-error/libgpg-error.SlackBuild

1
l/libgpg-error/libgpg-error-1.25.tar.bz2.sha1

@ -1 +0,0 @@
8ab7494e40f80f4138edc9516981bf4afe7d9dbf libgpg-error-1.25.tar.bz2

1
l/libgpg-error/libgpg-error-1.27.tar.bz2.sha256

@ -0,0 +1 @@
4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2 libgpg-error-1.27.tar.bz2

12
l/libgpg-error/libgpg-error.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2015,2016 Damien Goutte-Gattat
# Copyright (C) 2014-2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,9 +26,9 @@
# Source package infos
NAMESRC=${NAMESRC:-libgpg-error}
VERSION=${VERSION:-1.25}
VERSION=${VERSION:-1.27}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-ftp://ftp.gnupg.org/gcrypt/libgpg-error/$ARCHIVE}
WGET=${WGET:-https://www.gnupg.org/ftp/gcrypt/libgpg-error/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-libgpg-error}
@ -75,7 +75,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
@ -99,8 +99,8 @@ make install-strip DESTDIR=$PKG
# Move shared library to $PKG/lib$LIBDIRSUFFIX
mkdir -p $PKG/lib$LIBDIRSUFFIX
( cd $PKG/usr/lib$LIBDIRSUFFIX
mv libgpg-error.so.0.20.0 ../../lib$LIBDIRSUFFIX
ln -sf ../../lib$LIBDIRSUFFIX/libgpg-error.so.0.20.0 .
mv libgpg-error.so.0.22.0 ../../lib$LIBDIRSUFFIX
ln -sf ../../lib$LIBDIRSUFFIX/libgpg-error.so.0.22.0 .
cp -a libgpg-error.so.0 ../../lib$LIBDIRSUFFIX
)

Loading…
Cancel
Save