summaryrefslogtreecommitdiff
path: root/source/l/libgsf/libgsf.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-03-25 22:53:06 +0000
committerEric Hameleers <alien@slackware.com>2020-03-26 08:59:49 +0100
commitf1c067fa42f709006ec1867a73a30f6517010f56 (patch)
tree4a80f91d8c3b8024192ac316f9da75feb74d4e4a /source/l/libgsf/libgsf.SlackBuild
parent62f75c0a4e3cb8292cc39d62d6ac8a17f0f40ef9 (diff)
downloadcurrent-f1c067fa42f709006ec1867a73a30f6517010f56.tar.gz
Wed Mar 25 22:53:06 UTC 202020200325225306
a/e2fsprogs-1.45.6-x86_64-2.txz: Rebuilt. Fixed RELEASE-NOTES dangling symlink. a/kernel-generic-5.4.28-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.28-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.28-x86_64-1.txz: Upgraded. ap/nano-4.9-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.28-x86-1.txz: Upgraded. d/llvm-10.0.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. d/rust-1.42.0-x86_64-2.txz: Rebuilt. Recompiled against llvm-10.0.0. d/scons-3.1.2-x86_64-3.txz: Rebuilt. Fixed shebangs for python3, removed useless .bat files. Thanks to teeemcee and ponce. d/vala-0.48.2-x86_64-1.txz: Upgraded. k/kernel-source-5.4.28-noarch-1.txz: Upgraded. l/libgsf-1.14.47-x86_64-1.txz: Upgraded. l/neon-0.31.0-x86_64-1.txz: Upgraded. l/netpbm-10.89.03-x86_64-1.txz: Upgraded. l/qt5-5.13.2-x86_64-3.txz: Rebuilt. Recompiled against llvm-10.0.0. x/mesa-20.0.2-x86_64-2.txz: Rebuilt. Recompiled against llvm-10.0.0. xfce/thunar-1.8.14-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l/libgsf/libgsf.SlackBuild')
-rwxr-xr-xsource/l/libgsf/libgsf.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/source/l/libgsf/libgsf.SlackBuild b/source/l/libgsf/libgsf.SlackBuild
index 20824fda..e99b9b36 100755
--- a/source/l/libgsf/libgsf.SlackBuild
+++ b/source/l/libgsf/libgsf.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2011, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libgsf
-VERSION=${VERSION:-$(echo libgsf-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo libgsf-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf libgsf-$VERSION
-tar xvf $CWD/libgsf-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/libgsf-$VERSION.tar.?z || exit 1
cd libgsf-$VERSION || exit 1
chown -R root:root .
find . \
@@ -76,12 +76,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+if [ ! -r configure ]; then
+ NOCONFIGURE=1 ./autogen.sh
+fi
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var/lib \
+ --enable-gtk-doc \
--with-html-dir=/usr/share/gtk-doc/html \
--mandir=/usr/man \
--disable-static \