aboutsummaryrefslogtreecommitdiff
path: root/system/xosd/xosd.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-08-15 08:37:46 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 20:05:03 -0500
commitee8df823970ffd5754563af3fdb9898f2ad73649 (patch)
tree567de3af74dc6552304bc7665aae8df15b984db8 /system/xosd/xosd.SlackBuild
parentc425611d7bf6926fd0f4972aa3bfc0f12333c61b (diff)
system/xosd: Update to an svn snapshot
The released sources are unmaintained so let's switch to the debian svn branch. Added a small sed to avoid aclocal warnings. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/xosd/xosd.SlackBuild')
-rw-r--r--system/xosd/xosd.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/xosd/xosd.SlackBuild b/system/xosd/xosd.SlackBuild
index 002b68caff2d6..decd7ad63d3ed 100644
--- a/system/xosd/xosd.SlackBuild
+++ b/system/xosd/xosd.SlackBuild
@@ -6,7 +6,7 @@
# Currently maintained by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=xosd
-VERSION=2.2.14
+VERSION=${VERSION:-r634}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,11 +45,14 @@ 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.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
+# the less warnings, the better
+sed -i "s|AC_DEFUN(AM_PATH_LIBXOSD|AC_DEFUN([AM_PATH_LIBXOSD]|" libxosd.m4
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -58,6 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --enable-static=no \
--build=$ARCH-slackware-linux
make