aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdockapp/libdockapp.SlackBuild
diff options
context:
space:
mode:
authorCezary M. Kruk <c.kruk@bigfoot.com>2010-05-13 00:30:19 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:30:19 +0200
commit863083f47a748cdc040b210c0e5a2ae2398db99f (patch)
treeaaa2569a6c26301537052d65ff4ac6c424d9bb1a /libraries/libdockapp/libdockapp.SlackBuild
parent9e3aca9e9e7d7db38f5f8c02617b6c6777c7f0a6 (diff)
libraries/libdockapp: Updated for version 0.6.2
Diffstat (limited to 'libraries/libdockapp/libdockapp.SlackBuild')
-rw-r--r--libraries/libdockapp/libdockapp.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/libdockapp/libdockapp.SlackBuild b/libraries/libdockapp/libdockapp.SlackBuild
index 732e2575cc166..dfce31e3171e5 100644
--- a/libraries/libdockapp/libdockapp.SlackBuild
+++ b/libraries/libdockapp/libdockapp.SlackBuild
@@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -45,13 +48,15 @@ patch -p1 < $CWD/Fixup-examples-sharedir.patch
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--disable-debug \
--build=$ARCH-slackware-linux
-make install DESTDIR=$PKG
+make XFONTDIR="\$(DESTDIR)/usr/share/fonts"
+make install DESTDIR=$PKG XFONTDIR="\$(DESTDIR)/usr/share/fonts"
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@@ -69,5 +74,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}