l/npth: Upgraded to npth-1.5.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent 29d1cfc611
commit d4a4146ced

@ -1 +0,0 @@
1b21507cfa3f58bdd19ef2f6800ab4cb67729972 npth-1.3.tar.bz2

@ -0,0 +1 @@
294a690c1f537b92ed829d867bee537e46be93fbd60b16c04630fbbfcd9db3c2 npth-1.5.tar.bz2

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2015,2016 Damien Goutte-Gattat
# Copyright (C) 2014,2015,2016,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,7 +26,7 @@
# Source package infos
NAMESRC=${NAMESRC:-npth}
VERSION=${VERSION:-1.3}
VERSION=${VERSION:-1.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://www.gnupg.org/ftp/gcrypt/npth/$ARCHIVE}
@ -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
@ -94,7 +94,7 @@ make install-strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING COPYING.LESSER ChangeLog HACKING \
install -m 644 AUTHORS COPYING.LIB ChangeLog HACKING \
NEWS README $PKG/usr/doc/$NAME
# Copy slack-desc file

Loading…
Cancel
Save