diff options
author | Fabio Bas <fabio.bas@officineinformatiche.net> | 2021-05-15 16:22:53 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-17 08:49:47 +0700 |
commit | c307e81487e145bf76f2e513865e0b2a6af8982e (patch) | |
tree | b2c2c92f61ff068b9ce0005d2cfcfbe3cbe67a5f /development/acpica/acpica.SlackBuild | |
parent | 69d7b65ac02387572aa50ebe06bc92624339c6d4 (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/acpica.SlackBuild')
-rw-r--r-- | development/acpica/acpica.SlackBuild | 17 |
1 files changed, 6 insertions, 11 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 - |