libraries/libexe: Updated for version 20210424.

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:46:58 +01:00 committed by Willy Sudiarto Raharjo
parent c19ca80f81
commit 4243ebcf30
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 17 additions and 18 deletions

View File

@ -3,7 +3,6 @@ libexe (libYAL EXE library)
libexe is a library to access the executable (EXE) format.
At the moment the goal of this project is to provide functionality to
parse EXE (PE/COFF) and the resources stored in them using libwrc.
This functionality is used in libevt and libevtx to parse EventLog
messages from PE/COFF message files.
parse EXE (PE/COFF) and the resources stored in them using libwrc. This
functionality is used in libevt and libevtx to parse EventLog messages
from PE/COFF message files.

View File

@ -1,8 +1,8 @@
#!/bin/bash
# Slackware build script for libexe
# Copyright 2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
#
# Copyright 2019-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.
# New Submission v20181128 Jan 2019
#
# Updated to v20210424 May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libexe
VERSION=${VERSION:-20181128}
VERSION=${VERSION:-20210424}
STATUS=${STATUS:-experimental}
BUILD=${BUILD:-2}
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="libexe"
VERSION="20181128"
VERSION="20210424"
HOMEPAGE="https://github.com/libyal/libexe"
DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/0/d/0d878c436a842f60eadfe308211efd45/libexe-experimental-20181128.tar.gz"
MD5SUM="0d878c436a842f60eadfe308211efd45"
DOWNLOAD="https://linuxleo.com/Source/libexe-experimental-20210424.tar.gz"
MD5SUM="3ecdc9e53520a1cb52aaa0d3c249b9c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""