aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2013-04-01 23:09:03 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-04-15 17:20:29 -0500
commit76895b284cd58ddc964ffa7c65443584e0e41524 (patch)
tree24b4575399febc6197dc9ed582b9290be09aede4 /development
parentc8fb4db3a3e9afd97155c969b8fd700c645a3070 (diff)
development/acpica: Updated for version 20130214.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/acpica/acpica.SlackBuild28
-rw-r--r--development/acpica/acpica.info6
2 files changed, 14 insertions, 20 deletions
diff --git a/development/acpica/acpica.SlackBuild b/development/acpica/acpica.SlackBuild
index 39586c69a3ebe..b717ad88b2ace 100644
--- a/development/acpica/acpica.SlackBuild
+++ b/development/acpica/acpica.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for acpica
-# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2013 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=acpica
-VERSION=20120420
+VERSION=20130214
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,15 +43,19 @@ 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
@@ -65,29 +69,19 @@ cd $PRGNAM-unix2-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-cd source/compiler
+cd generate/unix
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
- make MAKEFLAGS="-j1"
- install -D -m 0755 iasl $PKG/usr/bin/iasl
- make clean
-cd -
+ make BITS=$BITS
-for i in acpiexec acpisrc acpixtract; do
- cd source/tools/$i
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- make
- install -D -m 0755 $i $PKG/usr/bin/$i
- make clean
- cd -
-done
+ make install DESTDIR=$PKG
+cd -
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a changes.txt README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a changes.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/acpica/acpica.info b/development/acpica/acpica.info
index 5f3661bfbd5c0..7939e5a81dc00 100644
--- a/development/acpica/acpica.info
+++ b/development/acpica/acpica.info
@@ -1,8 +1,8 @@
PRGNAM="acpica"
-VERSION="20120420"
+VERSION="20130214"
HOMEPAGE="http://www.acpica.org"
-DOWNLOAD="http://www.acpica.org/download/acpica-unix2-20120420.tar.gz"
-MD5SUM="7d2080c149acaa79ae6a5ecd145844b0"
+DOWNLOAD="https://acpica.org/sites/acpica/files/acpica-unix2-20130214.tar.gz"
+MD5SUM="972f50efb9878471adfc06c4488f3aa5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""