aboutsummaryrefslogtreecommitdiff
path: root/system/xosd/xosd.SlackBuild
diff options
context:
space:
mode:
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