|
@ -1,7 +1,7 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
# Slackware build script for pefile |
|
|
# Slackware build script for pefile |
|
|
# Copyright 2016-2023 Barry Grundy <bgrundy[at]linuxleo.com> |
|
|
|
|
|
|
|
|
# Copyright 2016-2025 Barry Grundy <bgrundy[at]linuxleo.com> |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
|
# |
|
|
# |
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
# Redistribution and use of this script, with or without modification, is |
|
@ -21,12 +21,12 @@ |
|
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
|
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
|
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
# |
|
|
# |
|
|
# Updated for 2023.2.7, July 2023 |
|
|
|
|
|
|
|
|
# Updated for 2024.8.26, March 2025 |
|
|
|
|
|
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
|
PRGNAM=pefile |
|
|
PRGNAM=pefile |
|
|
VERSION=${VERSION:-2023.2.7} |
|
|
|
|
|
|
|
|
VERSION=${VERSION:-2024.8.26} |
|
|
BUILD=${BUILD:-1} |
|
|
BUILD=${BUILD:-1} |
|
|
TAG=${TAG:-_SBo} |
|
|
TAG=${TAG:-_SBo} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
@ -86,7 +86,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |
|
|
|
|
|
|
|
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
cp -a README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
|
|
|
|
|
cp -a LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
|
|
|
|
|
mkdir -p $PKG/install |
|
|
mkdir -p $PKG/install |
|
|