summaryrefslogtreecommitdiff
path: root/system/conky/conky.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2010-12-27 22:39:10 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-29 01:08:49 -0600
commit385967a3273f28a08da832145c222c00976010d0 (patch)
treefd44bd9082a4d41873d95d42ae924fb7630da31c /system/conky/conky.SlackBuild
parent051ada24554b5ade4cece3c88fa61718a47e726a (diff)
downloadslackbuilds-385967a3273f28a08da832145c222c00976010d0.tar.gz
system/conky: Miscellaneous tweaks/enhancements
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/conky/conky.SlackBuild')
-rw-r--r--system/conky/conky.SlackBuild24
1 files changed, 13 insertions, 11 deletions
diff --git a/system/conky/conky.SlackBuild b/system/conky/conky.SlackBuild
index a21bf397f4..75a39990d8 100644
--- a/system/conky/conky.SlackBuild
+++ b/system/conky/conky.SlackBuild
@@ -6,15 +6,13 @@
PRGNAM=conky
VERSION=1.8.1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -44,18 +42,17 @@ fi
set -e
if [ "${LUA:-yes}" = "yes" ]; then
- lua="--enable-lua --enable-lua-cairo --enable-imlib2 --enable-lua-imlib2"
+ lua_params="--enable-lua --enable-lua-cairo --enable-imlib2 --enable-lua-imlib2"
else
- lua="--disable-lua"
+ lua_params="--disable-lua"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-#patch -p1 < $CWD/audacious-2.3-fix.txt
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -72,12 +69,17 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--enable-shared=yes \
--enable-static=no \
+ --enable-ibm \
+ --enable-hddtemp \
+ --enable-xft \
+ --enable-weather-metar \
--enable-weather-xoap \
+ --enable-portmon \
--enable-audacious \
--enable-mpd=yes \
--enable-rss=yes \
--enable-wlan=yes \
- $lua \
+ $lua_params \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
@@ -85,11 +87,11 @@ make
make install-strip DESTDIR=$PKG
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
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Move existing config file
+# Move existing config files
mv $PKG/etc/conky/conky.conf $PKG/etc/conky/conky.conf.new
+mv $PKG/etc/conky/conky_no_x11.conf $PKG/etc/conky/conky_no_x11.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \