l/gpgme: Upgraded to gpgme-1.9.0.

slackware-14.2
Damien Goutte-Gattat 2017-04-03 23:41:06 +02:00
parent 2519639dbb
commit 723346dae4
3 changed files with 10 additions and 4 deletions

View File

@ -1 +0,0 @@
efa043064dbf675fd713228c6fcfcc4116feb221 gpgme-1.8.0.tar.bz2

View File

@ -0,0 +1 @@
1b29fedb8bfad775e70eafac5b0590621683b2d9869db994568e6401f4034ceb gpgme-1.9.0.tar.bz2

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2016 Damien Goutte-Gattat
# Copyright (C) 2016,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,7 +28,7 @@
# Source package infos
NAMESRC=${NAMESRC:-gpgme}
VERSION=${VERSION:-1.8.0}
VERSION=${VERSION:-1.9.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://www.gnupg.org/ftp/gcrypt/gpgme/$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
@ -94,6 +94,7 @@ CXXFLAGS=$CPUOPT \
--infodir=/usr/info \
--docdir=/usr/doc/$NAME \
--enable-languages=cl,cpp,python2 \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
make -j $JOBS
make install-strip DESTDIR=$PKG
@ -110,6 +111,11 @@ install -m 644 AUTHORS COPYING{,.LESSER} ChangeLog NEWS README TODO \
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
libassuan
EOF
# Package the tree
cd $PKG
mkdir -p $OUT