mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/acpitool: Updated for version 0.5.1, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
6664c48efc
commit
745f9bd387
2 changed files with 8 additions and 9 deletions
|
@ -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 \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="acpitool"
|
||||
VERSION="0.5"
|
||||
VERSION="0.5.1"
|
||||
HOMEPAGE="http://freeunix.dyndns.org:8000/site2/acpitool.shtml"
|
||||
DOWNLOAD="http://freeunix.dyndns.org:8000/ftp_site/pub/unix/acpitool/acpitool-0.5.tar.bz2"
|
||||
MD5SUM="c4acc19eb002d6871d12abb490593202"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/acpitool/acpitool-0.5.1.tar.bz2"
|
||||
MD5SUM="9e4ec55201be0be71ffbc56d38b42b57"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue