diff options
Diffstat (limited to 'libraries/libpff')
-rw-r--r-- | libraries/libpff/README | 6 | ||||
-rw-r--r-- | libraries/libpff/libpff.SlackBuild | 38 | ||||
-rw-r--r-- | libraries/libpff/libpff.info | 6 |
3 files changed, 31 insertions, 19 deletions
diff --git a/libraries/libpff/README b/libraries/libpff/README index f970d16b67..172fb1a589 100644 --- a/libraries/libpff/README +++ b/libraries/libpff/README @@ -1,7 +1,7 @@ libpff (libYAL PFF library) -Library and tools to access the Personal Folder File (PFF) and the Offline -Folder File (OFF) format. +Library and tools to access the Personal Folder File (PFF) and the +Offline Folder File (OFF) format. PFF/OFF is used in several file types: @@ -13,7 +13,7 @@ Supported formats: -32-bit ANSI (string) -64-bit Unicode (string) --64-bit with 4k pages with DEFLATE compression (Compressed OST files) +-64-bit with 4k pages with DEFLATE compression (Compressed OST files) Additional features: diff --git a/libraries/libpff/libpff.SlackBuild b/libraries/libpff/libpff.SlackBuild index 583bdbc1dc..61a9ab159b 100644 --- a/libraries/libpff/libpff.SlackBuild +++ b/libraries/libpff/libpff.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/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,30 +21,40 @@ # 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 v20211114 May 2022 -# Updated v20161119 November 2016 Barry J. Grundy <bgrundy(at)linuxleo.com +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libpff -VERSION=${VERSION:-20161119} -STATUS=${STATUS:-experimental} +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 fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \ --localstatedir=/var \ --mandir=/usr/man \ --disable-static \ - --enable-python \ + --enable-python3 \ --build=$ARCH-slackware-linux make @@ -91,11 +101,13 @@ 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 + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/libpff/libpff.info b/libraries/libpff/libpff.info index f67cc75b70..6bb0590d12 100644 --- a/libraries/libpff/libpff.info +++ b/libraries/libpff/libpff.info @@ -1,8 +1,8 @@ PRGNAM="libpff" -VERSION="20161119" +VERSION="20211114" HOMEPAGE="https://github.com/libyal/libpff" -DOWNLOAD="https://github.com/libyal/libpff/releases/download/20161119/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="" |