summaryrefslogtreecommitdiff
path: root/system/acpitool/acpitool.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-10-10 19:22:57 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-11-04 09:53:48 -0500
commit745f9bd3878dfbc0a1586fe6e3c5c99778f83aec (patch)
tree5db3f72ce2fa6b197abcc283921b7b68a46cc361 /system/acpitool/acpitool.SlackBuild
parent6664c48efc2efffe0177da952b93fb4ccd787a53 (diff)
downloadslackbuilds-745f9bd3878dfbc0a1586fe6e3c5c99778f83aec.tar.gz
system/acpitool: Updated for version 0.5.1, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/acpitool/acpitool.SlackBuild')
-rw-r--r--system/acpitool/acpitool.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/acpitool/acpitool.SlackBuild b/system/acpitool/acpitool.SlackBuild
index d79e3264b3..3149e838b2 100644
--- a/system/acpitool/acpitool.SlackBuild
+++ b/system/acpitool/acpitool.SlackBuild
@@ -23,8 +23,8 @@
# Modified by the SlackBuilds.org Project
PRGNAM=acpitool
-VERSION=0.5
-BUILD=${BUILD:-2}
+VERSION=0.5.1
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -83,12 +83,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 -name "*.?" -exec gzip -9 {} \;
-)
+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 AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \