summaryrefslogtreecommitdiff
path: root/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild')
-rw-r--r--desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild b/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
index 84367831c1..bd9e2fd391 100644
--- a/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
+++ b/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfce4-cpugraph-plugin
-VERSION=0.4.0
+VERSION=1.0.1
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
@@ -62,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -77,8 +75,6 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc/xfce \
- --enable-shared=yes \
- --enable-static=no \
--enable-debug=no \
--build=$ARCH-slackware-linux
@@ -90,12 +86,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ AUTHORS COPYING ChangeLog INSTALL NEWS README \
$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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}