summaryrefslogtreecommitdiff
path: root/system/acpi/acpi.SlackBuild
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@imap.cc>2012-02-04 21:26:35 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-04 21:26:35 -0600
commit80db22f89bd47ae82b73f3ea4c493070432829f6 (patch)
tree36a5668218945ccb54f666f4460b2c2537d3116f /system/acpi/acpi.SlackBuild
parentf9f42338deb12275124e280da8f2288bf9f3b68d (diff)
downloadslackbuilds-80db22f89bd47ae82b73f3ea4c493070432829f6.tar.gz
system/acpi: Updated for version 1.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/acpi/acpi.SlackBuild')
-rw-r--r--system/acpi/acpi.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/acpi/acpi.SlackBuild b/system/acpi/acpi.SlackBuild
index 5e91712177..f70d74be73 100644
--- a/system/acpi/acpi.SlackBuild
+++ b/system/acpi/acpi.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for acpi
-# Copyright 2008-2010 Grigorios Bouzakis <grbzks@xsmail.com>
+# Copyright 2008-2012 Grigorios Bouzakis <grbzks@imap.cc>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -20,7 +20,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=acpi
-VERSION=${VERSION:-1.5}
+VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,13 +84,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION