development/pkgconf: Updated for version 1.5.2.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2018-07-20 12:19:50 +01:00 committed by Willy Sudiarto Raharjo
parent e1320379fc
commit d6a79b06ec
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 16 additions and 6 deletions

View file

@ -15,3 +15,6 @@ variables to be correct.
If you are using slackpkg add this line to your blacklist file found
at '/etc/slackpkg/blacklist'.
pkg-config
To build debugging symbols use:
DEBUG=1 ./pkgconf.SlackBuild

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pkgconf
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,6 +69,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
[ "${DEBUG:=0}" != 0 ] && \
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@ -85,8 +90,10 @@ make install DESTDIR=$PKG
( cd $PKG/usr/bin; ln -sf $PRGNAM pkg-config )
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
if [ "$DEBUG" = 0 ]; then
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
fi
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

View file

@ -1,8 +1,8 @@
PRGNAM="pkgconf"
VERSION="1.5.1"
VERSION="1.5.2"
HOMEPAGE="https://git.dereferenced.org/pkgconf/pkgconf"
DOWNLOAD="https://distfiles.dereferenced.org/pkgconf/pkgconf-1.5.1.tar.xz"
MD5SUM="78391c77a1940677b719b94e1f79d3ce"
DOWNLOAD="https://distfiles.dereferenced.org/pkgconf/pkgconf-1.5.2.tar.xz"
MD5SUM="daf26512578d2ee8e9c17ce590877461"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"