aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundyat>2022-05-20 01:37:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:18 +0700
commitc313ee59ad8f14064f404634e22ab90381b21631 (patch)
treec146ab42f273b488ce44c43b47930046cfaa5f72 /libraries
parent440767ef95c9b7f1fb8569828a1414296f61df3e (diff)
libraries/libvhdi: Explicit python3 bindings.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libvhdi/README3
-rw-r--r--libraries/libvhdi/libvhdi.SlackBuild21
2 files changed, 13 insertions, 11 deletions
diff --git a/libraries/libvhdi/README b/libraries/libvhdi/README
index 573562fa196db..18afc4047b65b 100644
--- a/libraries/libvhdi/README
+++ b/libraries/libvhdi/README
@@ -11,4 +11,5 @@ Supported image types:
Fixed-size hard disk image
Dynamic-size (or sparse) hard disk image
Differential (or differencing) hard disk image
- Note that an undo disk image (.vud) is also a differential image
+ Note that an undo disk image (.vud) is also a differential
+ image.
diff --git a/libraries/libvhdi/libvhdi.SlackBuild b/libraries/libvhdi/libvhdi.SlackBuild
index 5ace232841344..580f2d4b4fc87 100644
--- a/libraries/libvhdi/libvhdi.SlackBuild
+++ b/libraries/libvhdi/libvhdi.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
# Slackware build script for libvhdi
-
-# 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,20 +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.
-
-# Updated v20210425 August 2021
+#
+# Updated v20210425 (build 3), May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libvhdi
VERSION=${VERSION:-20210425}
-BUILD=${BUILD:-2}
+STATUS=${STATUS:-alpha}
+BUILD=${BUILD:-3}
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
@@ -52,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"
@@ -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