diff options
Diffstat (limited to 'system/lxtask/lxtask.SlackBuild')
-rw-r--r-- | system/lxtask/lxtask.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/system/lxtask/lxtask.SlackBuild b/system/lxtask/lxtask.SlackBuild index 7365e23b1e..78eefcdafe 100644 --- a/system/lxtask/lxtask.SlackBuild +++ b/system/lxtask/lxtask.SlackBuild @@ -37,6 +37,8 @@ # 0.1.3-1: 12/sep/2010 by ponce <matteo.bernardini@gmail.com> # * Adapted to slackbuilds.org's autotools template. # * updated to latest version. +# 0.1.4-1: 25/jul/2011 by ponce <matteo.bernardini@gmail.com> +# * updated to 0.1.4. # # Run 'sh lxtask.SlackBuild' to build a Slackware package. # The package is created in /tmp . @@ -45,21 +47,19 @@ # ----------------------------------------------------------------------------- PRGNAM=lxtask -VERSION=${VERSION:-0.1.3} +VERSION=${VERSION:-0.1.4} BUILD=${BUILD:-1} 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 -DOCS="AUTHORS COPYING ChangeLog NEWS README TODO" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -95,6 +95,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +sh autogen.sh || true + CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -111,10 +113,8 @@ make install-strip DESTDIR=$PKG # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc -type f -exec chmod 644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |