From 47e863b059a7231b5d7d85dae727eb01badca942 Mon Sep 17 00:00:00 2001 From: "Barry J. Grundy" Date: Fri, 20 May 2022 04:15:10 +0100 Subject: libraries/libqcow: Updated for version 20210419. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- libraries/libqcow/libqcow.SlackBuild | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'libraries/libqcow/libqcow.SlackBuild') diff --git a/libraries/libqcow/libqcow.SlackBuild b/libraries/libqcow/libqcow.SlackBuild index 2271fe9d35..fb050fa719 100644 --- a/libraries/libqcow/libqcow.SlackBuild +++ b/libraries/libqcow/libqcow.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash # Slackware build script for libqcow - -# Copyright 2014-2019 Barry J. Grundy (bgrundylinuxleo.com) +# +# Copyright 2014-2022 Barry J. Grundy (bgrundylinuxleo.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 v20181227 Jan 2019 Barry J. Grundy +# +# Updated v20210419 May 2022 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libqcow -VERSION=${VERSION:-20181227} -BUILD=${BUILD:-2} +VERSION=${VERSION:-20210419} +STATUS=${STATUS:-alpha} +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 @@ -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" @@ -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 -- cgit v1.2.3