system/acpi: Updated for version 1.6.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Grigorios Bouzakis 2012-02-04 21:26:35 -06:00 committed by Robby Workman
parent f9f42338de
commit 80db22f89b
3 changed files with 11 additions and 13 deletions

View File

@ -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

View File

@ -1,10 +1,10 @@
PRGNAM="acpi"
VERSION="1.5"
VERSION="1.6"
HOMEPAGE="http://sourceforge.net/projects/acpiclient/"
DOWNLOAD="http://downloads.sourceforge.net/acpiclient/acpi-1.5.tar.gz"
MD5SUM="ccfee3d53eba9c9947adafbcc1387611"
DOWNLOAD="http://downloads.sourceforge.net/acpiclient/acpi-1.6.tar.gz"
MD5SUM="68d0104a7825c904e3f45de8682cee19"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Grigorios Bouzakis"
EMAIL="grbzks@gmail.com"
APPROVED="dsomero"
EMAIL="grbzks@imap.cc"
APPROVED="rworkman"

View File

@ -12,7 +12,7 @@ acpi: Linux ACPI client is a command-line tool, similar to the "apm"
acpi: command, that provides information on battery status, AC power,
acpi: and thermal readings.
acpi:
acpi: Homepage: http://sourceforge.net/projects/acpiclient/
acpi: Homepage: http://sourceforge.net/projects/acpiclient
acpi:
acpi:
acpi: