libraries/libpff: Updated for version 20211114.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Barry J. Grundy 2022-05-20 04:56:47 +01:00 committed by Willy Sudiarto Raharjo
parent b4c716208a
commit eb5f0ebda1
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 16 additions and 16 deletions

View file

@ -1,8 +1,8 @@
#!/bin/bash
# Slackware build script for libpff
# Copyright 2014-2016 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,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.
# Updated v20161119 November 2016 Barry J. Grundy <bgrundy(at)linuxleo.com
#
# Updated v20211114 May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libpff
VERSION=${VERSION:-20161119}
STATUS=${STATUS:-experimental}
BUILD=${BUILD:-2}
VERSION=${VERSION:-20211114}
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
@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="libpff"
VERSION="20161119"
VERSION="20211114"
HOMEPAGE="https://github.com/libyal/libpff"
DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/libpff-experimental-20161119.tar.gz"
MD5SUM="55e5f032f0e36b6d0bb8f580792b8ad7"
DOWNLOAD="https://linuxleo.com/Source/libpff-alpha-20211114.tar.gz"
MD5SUM="6046dc44808125d319f4f860134ede3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""