summaryrefslogtreecommitdiff
path: root/graphics/fotowall/fotowall.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fotowall/fotowall.SlackBuild')
-rw-r--r--graphics/fotowall/fotowall.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/fotowall/fotowall.SlackBuild b/graphics/fotowall/fotowall.SlackBuild
index 387eccea94..5280bdaeab 100644
--- a/graphics/fotowall/fotowall.SlackBuild
+++ b/graphics/fotowall/fotowall.SlackBuild
@@ -8,7 +8,7 @@
SRCNAM=Fotowall
PRGNAM=fotowall
-VERSION=${VERSION:-0.9}
+VERSION=${VERSION:-20120227_eff7aa1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,7 +45,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
cd $SRCNAM-$VERSION
chown -R root:root .
find . \
@@ -57,10 +57,12 @@ find . \
# Fix man page location.
sed -i 's|share/man|man|' $PRGNAM.pro
-qmake -unix -o Makefile $PRGNAM.pro
+qmake $PRGNAM.pro
make \
CFLAGS="-pipe $SLKCFLAGS -Wall -W -D_REENTRANT \$(DEFINES)" \
- CXXFLAGS="-pipe $SLKCFLAGS -Wall -W -D_REENTRANT \$(DEFINES)"
+ CXXFLAGS="-pipe $SLKCFLAGS -Wall -W -D_REENTRANT \$(DEFINES)" \
+ SUBLIBS="-lX11"
+
make install INSTALL_ROOT=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \