aboutsummaryrefslogtreecommitdiff
path: root/development/acpica
diff options
context:
space:
mode:
authorFabio Bas <fabio.bas@officineinformatiche.net>2021-05-15 16:22:53 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-17 08:49:47 +0700
commitc307e81487e145bf76f2e513865e0b2a6af8982e (patch)
treeb2c2c92f61ff068b9ce0005d2cfcfbe3cbe67a5f /development/acpica
parent69d7b65ac02387572aa50ebe06bc92624339c6d4 (diff)
development/acpica: Updated for version 20210331.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/acpica')
-rw-r--r--development/acpica/acpica.SlackBuild17
-rw-r--r--development/acpica/acpica.info6
2 files changed, 9 insertions, 14 deletions
diff --git a/development/acpica/acpica.SlackBuild b/development/acpica/acpica.SlackBuild
index 734499bb12e3f..5406dd605c8f0 100644
--- a/development/acpica/acpica.SlackBuild
+++ b/development/acpica/acpica.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=acpica
-VERSION=${VERSION:-20170531}
+VERSION=${VERSION:-20210331}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,19 +43,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
- BITS="32"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- BITS="32"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- BITS="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
- BITS="32"
fi
set -e
@@ -63,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-unix2-$VERSION
-tar xvf $CWD/$PRGNAM-unix2-$VERSION.tar.gz
-cd $PRGNAM-unix2-$VERSION
+rm -rf $PRGNAM-unix-$VERSION
+tar xvf $CWD/$PRGNAM-unix-$VERSION.tar.gz
+cd $PRGNAM-unix-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -74,9 +70,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd generate/unix
- CFLAGS="$SLKCFLAGS -fcommon -Wno-error=format-overflow -Wno-error=stringop-truncation" \
- CXXFLAGS="$SLKCFLAGS" \
- make BITS=$BITS
+ OPT_CFLAGS="$SLKCFLAGS" \
+ make
make install DESTDIR=$PKG
cd -
diff --git a/development/acpica/acpica.info b/development/acpica/acpica.info
index dea5cd5d502d6..8156f2f1782ce 100644
--- a/development/acpica/acpica.info
+++ b/development/acpica/acpica.info
@@ -1,8 +1,8 @@
PRGNAM="acpica"
-VERSION="20170531"
+VERSION="20210331"
HOMEPAGE="http://www.acpica.org"
-DOWNLOAD="https://acpica.org/sites/acpica/files/acpica-unix2-20170531.tar.gz"
-MD5SUM="46c4c93435ad1d8c4eb5bacde17503b8"
+DOWNLOAD="https://acpica.org/sites/acpica/files/acpica-unix-20210331.tar.gz"
+MD5SUM="bf54ef57eeff1c3be04669d9526a29b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""