summaryrefslogtreecommitdiff
path: root/libraries/libwrc
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libwrc')
-rw-r--r--libraries/libwrc/libwrc.SlackBuild22
-rw-r--r--libraries/libwrc/libwrc.info6
2 files changed, 14 insertions, 14 deletions
diff --git a/libraries/libwrc/libwrc.SlackBuild b/libraries/libwrc/libwrc.SlackBuild
index c3c0461ac7..88fbc32b9c 100644
--- a/libraries/libwrc/libwrc.SlackBuild
+++ b/libraries/libwrc/libwrc.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
# Slackware build script for libwrc
-
-# Copyright 2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2019-2022 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,21 +21,21 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# New Submission v20181203 Jan 2019
+#
+# Updated for v20220104 May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libwrc
-VERSION=${VERSION:-20181203}
+VERSION=${VERSION:-20220104}
STATUS=${STATUS:-experimental}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -53,8 +53,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -91,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -101,7 +101,7 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
diff --git a/libraries/libwrc/libwrc.info b/libraries/libwrc/libwrc.info
index 8dcc128357..bd50f979a7 100644
--- a/libraries/libwrc/libwrc.info
+++ b/libraries/libwrc/libwrc.info
@@ -1,8 +1,8 @@
PRGNAM="libwrc"
-VERSION="20181203"
+VERSION="20220104"
HOMEPAGE="https://github.com/libyal/libwrc"
-DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/a/e/ae2c5b9f9ff58d1219e9cb25de417a9f/libwrc-experimental-20181203.tar.gz"
-MD5SUM="ae2c5b9f9ff58d1219e9cb25de417a9f"
+DOWNLOAD="https://linuxleo.com/Source/libwrc-experimental-20220104.tar.gz"
+MD5SUM="ed1fc69aee313a531215475e7c658c0b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""