mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
desktop/wmpower: Updated for version 0.4.3
This commit is contained in:
parent
be49f9c6d7
commit
eb04993bdd
3 changed files with 23 additions and 17 deletions
|
@ -10,10 +10,10 @@ wmpower: wmpower (Window Maker laptop battery dockable application)
|
|||
wmpower:
|
||||
wmpower: wmpower allows the user to graphically see (and set) the power
|
||||
wmpower: management status of his laptop.
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
wmpower:
|
||||
|
|
|
@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -30,7 +33,7 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
|
@ -43,10 +46,12 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--disable-debug
|
||||
--disable-debug \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
@ -58,15 +63,14 @@ make install DESTDIR=$PKG
|
|||
xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS BUGS COPYING ChangeLog INSTALL LEGGIMI NEWS README* THANKS TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS BUGS COPYING ChangeLog INSTALL LEGGIMI NEWS README* THANKS TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="wmpower"
|
||||
VERSION="0.4.3"
|
||||
HOMEPAGE="http://dockapps.org/file.php/id/164"
|
||||
DOWNLOAD="http://dockapps.org/download.php/id/778/wmpower-0.4.3.tar.bz2"
|
||||
HOMEPAGE="http://c.kruk.webpark.pl"
|
||||
DOWNLOAD="http://c.kruk.webpark.pl/wmpower-0.4.3.tar.bz2"
|
||||
MD5SUM="22be08382dc408f3b925a198e46dd0be"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Cezary M. Kruk"
|
||||
EMAIL="c.kruk@bigfoot.com"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue