aboutsummaryrefslogtreecommitdiff
path: root/libraries/libevtx/libevtx.SlackBuild
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundyat>2022-05-20 04:45:09 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:20 +0700
commitc19ca80f81996ce05f8dd8a2151624496ad5b698 (patch)
tree000bfdf1ed5c1abae4b3ff7c5443f151fc973c67 /libraries/libevtx/libevtx.SlackBuild
parent048d796b86da6b638ec03be86dfcd07a6a5806c8 (diff)
libraries/libevtx: Updated for version 20210525.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libevtx/libevtx.SlackBuild')
-rw-r--r--libraries/libevtx/libevtx.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/libraries/libevtx/libevtx.SlackBuild b/libraries/libevtx/libevtx.SlackBuild
index 049f98a85c4c5..e1b65aa57612e 100644
--- a/libraries/libevtx/libevtx.SlackBuild
+++ b/libraries/libevtx/libevtx.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
# Slackware build script for libevtx
-
-# 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 March 2019
+#
+# Updated v20210525 May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libevtx
-VERSION=${VERSION:-20181227}
-BUILD=${BUILD:-2}
+STATUS=${STATUS:-alpha}
+VERSION=${VERSION:-20210525}
+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 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