summaryrefslogtreecommitdiffstats
path: root/python/esptool/esptool.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/esptool/esptool.SlackBuild')
-rw-r--r--python/esptool/esptool.SlackBuild26
1 files changed, 7 insertions, 19 deletions
diff --git a/python/esptool/esptool.SlackBuild b/python/esptool/esptool.SlackBuild
index 4008b92149..a65380b42f 100644
--- a/python/esptool/esptool.SlackBuild
+++ b/python/esptool/esptool.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for esptool
# Written by Tim Dickson dickson.tim@googlemail.com
-# Copyright (c) 2020/2022 Tim Dickson, Scotland
+# Copyright (c) 2020/2024 Tim Dickson, Scotland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,10 +26,15 @@
# note to self. github source tar.gz can miss out some directory contents,
# so use pypi.org/project/esptool download source tar.gz instead.
+# note to others. I don't actually use this or have hardware to test it.
+# I am reliant on those that requested it doing any testing. :-)
+# 2023/12/06 added some extra deps. bumped build number
+# 2024/01/17 update to 4.7.0
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=esptool
-VERSION=${VERSION:-4.1}
+VERSION=${VERSION:-4.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -54,20 +56,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG