libraries/libolecf: Updated for version 20210512.

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:54:55 +01:00 committed by Willy Sudiarto Raharjo
parent 5d736907a5
commit b4c716208a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 16 additions and 15 deletions

View file

@ -1,5 +1,5 @@
libolecf (libYAL OLE 2 library)
Library and tools to access the OLE 2 Compound File (OLECF)
format. The OLE 2 Compound File format is used to store certain
versions of Microsoft Office files, thumbs.db and other file formats.
Library and tools to access the OLE 2 Compound File (OLECF) format. The
OLE 2 Compound File format is used to store certain versions of
Microsoft Office files, thumbs.db and other file formats.

View file

@ -1,8 +1,8 @@
#!/bin/bash
# Slackware build script for libolecf
# 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 v20181231, March 2019
#
# Updated v20210512, May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libolecf
VERSION=${VERSION:-20181231}
BUILD=${BUILD:-2}
VERSION=${VERSION:-20210512}
STATUS=${STATUS:-alpha}
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

View file

@ -1,8 +1,8 @@
PRGNAM="libolecf"
VERSION="20181231"
VERSION="20210512"
HOMEPAGE="https://github.com/libyal/libolecf"
DOWNLOAD="http://deb.debian.org/debian/pool/main/libo/libolecf/libolecf_20181231.orig.tar.gz"
MD5SUM="fe2bf4d84e62e7f3df80c95e2255a92d"
DOWNLOAD="http://linuxleo.com/Source/libolecf-alpha-20210512.tar.gz"
MD5SUM="b0eccf6c1f8e2c22cafd92e09661f1ce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""