diff options
Diffstat (limited to 'system/conky/conky.SlackBuild')
-rw-r--r-- | system/conky/conky.SlackBuild | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/system/conky/conky.SlackBuild b/system/conky/conky.SlackBuild index a21bf397f473b..75a39990d864c 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 \ |