|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2016,2017,2018,2019 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2016,2017,2018,2019,2020 Damien Goutte-Gattat |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
# is permitted provided that the following conditions are met: |
|
|
@ -25,11 +25,10 @@ |
|
|
|
# Latest gpgme sourcecode is available at: <https://gnupg.org/>. |
|
|
|
# |
|
|
|
# Depends: l/libassuan |
|
|
|
# Recommends: d/python3, l/qt5 |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-gpgme} |
|
|
|
VERSION=${VERSION:-1.13.1} |
|
|
|
VERSION=${VERSION:-1.14.0} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2} |
|
|
|
WGET=${WGET:-https://www.gnupg.org/ftp/gcrypt/gpgme/$ARCHIVE} |
|
|
|
|
|
|
@ -99,12 +98,8 @@ CXXFLAGS=$CPUOPT \ |
|
|
|
make -j $JOBS |
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
|
|
|
|
# Libgpgme-pthread does no longer exist: there is now a |
|
|
|
# single thread-safe library. Programs that were linked |
|
|
|
# against stock libgpgme-pthread should work fine, they |
|
|
|
# juste have to be able to find libgpgme. |
|
|
|
ln -s libgpgme.so.11 $PKG/usr/lib$LIBDIRSUFFIX/libgpgme-pthread.so.11 |
|
|
|
ln -s libgpgme.la $PKG/usr/lib$LIBDIRSUFFIX/libgpgme-pthread.la |
|
|
|
# Don't ship .la files |
|
|
|
rm -f $PKG/{,usr}/lib$LIBDIRSUFFIX/*.la |
|
|
|
|
|
|
|
# Compress info pages |
|
|
|
find $PKG/usr/info -type f -exec gzip -9 {} \; |
|
|
|