aboutsummaryrefslogtreecommitdiff
path: root/libraries/libsmraw
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundyat>2022-05-20 01:32:33 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:17 +0700
commit440767ef95c9b7f1fb8569828a1414296f61df3e (patch)
treedede70bda84974c470447c948b22a293670bec90 /libraries/libsmraw
parent761abca56b0bca9a58d1d899274c8102b76f35fc (diff)
libraries/libsmraw: Updated for version 20210807.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libsmraw')
-rw-r--r--libraries/libsmraw/libsmraw.SlackBuild19
-rw-r--r--libraries/libsmraw/libsmraw.info6
2 files changed, 13 insertions, 12 deletions
diff --git a/libraries/libsmraw/libsmraw.SlackBuild b/libraries/libsmraw/libsmraw.SlackBuild
index 9bc470f80c10..fa42d9e174f2 100644
--- a/libraries/libsmraw/libsmraw.SlackBuild
+++ b/libraries/libsmraw/libsmraw.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
# Slackware build script for libsmraw
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2022 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,15 @@
# 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.
-
-# Updated v20181227 Jan 2019
+#
+# Updated v20210807 May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libsmraw
-VERSION=${VERSION:-20181227}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20210807}
+STATUS=${STATUS:-alpha}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/"$PRGNAM"_"$VERSION".orig.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -90,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -100,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 ABOUT-NLS 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/libsmraw/libsmraw.info b/libraries/libsmraw/libsmraw.info
index 42841db24a66..a74b92e2c28e 100644
--- a/libraries/libsmraw/libsmraw.info
+++ b/libraries/libsmraw/libsmraw.info
@@ -1,8 +1,8 @@
PRGNAM="libsmraw"
-VERSION="20181227"
+VERSION="20210807"
HOMEPAGE="https://github.com/libyal/libsmraw"
-DOWNLOAD="http://deb.debian.org/debian/pool/main/libs/libsmraw/libsmraw_20181227.orig.tar.gz"
-MD5SUM="510ccfd38ad5b13b173759224267fcfa"
+DOWNLOAD="https://linuxleo.com/Source/libsmraw-alpha-20210807.tar.gz"
+MD5SUM="7753d41dd2a26365d9466d61968f3d59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""