mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
system/chipsec: Updated for version 1.13.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1a6c56b8bb
commit
e5ec89bdfb
2 changed files with 8 additions and 9 deletions
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=chipsec
|
||||
VERSION=${VERSION:-1.9.0}
|
||||
VERSION=${VERSION:-1.13.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -41,9 +41,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-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -82,7 +79,9 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -pv build/lib/chipsec/helper/linux
|
||||
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
|
||||
export PYTHONPATH=/opt/python$PYVER/site-packages
|
||||
mkdir -pv build/lib.linux-${ARCH/i?86/i686}-cpython-${PYVER//./}/chipsec/helper/linux
|
||||
env -u ARCH python3 setup.py build_ext install --root=$PKG
|
||||
|
||||
# Sign the kernel module (if available)
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="chipsec"
|
||||
VERSION="1.9.0"
|
||||
VERSION="1.13.1"
|
||||
HOMEPAGE="https://github.com/chipsec/chipsec"
|
||||
DOWNLOAD="https://github.com/chipsec/chipsec/archive/1.9.0/chipsec-1.9.0.tar.gz"
|
||||
MD5SUM="c9a9ea26c05ef4eb2a7ac525b13c2530"
|
||||
DOWNLOAD="https://github.com/chipsec/chipsec/archive/1.13.1/chipsec-1.13.1.tar.gz"
|
||||
MD5SUM="66018d4cf53b82d6cd5f2b4c4ea477ef"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
REQUIRES="python3-setuptools-opt"
|
||||
MAINTAINER="pyllyukko"
|
||||
EMAIL="pyllyukko@maimed.org"
|
||||
|
|
Loading…
Reference in a new issue