summaryrefslogtreecommitdiffstats
path: root/source/l/libpsl/libpsl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libpsl/libpsl.SlackBuild')
-rwxr-xr-xsource/l/libpsl/libpsl.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/l/libpsl/libpsl.SlackBuild b/source/l/libpsl/libpsl.SlackBuild
index d92044abc..dde884564 100755
--- a/source/l/libpsl/libpsl.SlackBuild
+++ b/source/l/libpsl/libpsl.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2018, 2020, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libpsl
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -105,6 +105,13 @@ if [ ! -r /usr/share/publicsuffix/public_suffix_list.dat ]; then
fi
# Configure, build, and install:
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -185,4 +192,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-