diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-18 06:56:07 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-18 19:32:37 -0500 |
commit | 2c57ac091013da8b49b648122151cf616428f588 (patch) | |
tree | 8387ee90f1b916a53eaebc907674b49333e7e4d9 /system/xautomation/xautomation.SlackBuild | |
parent | b97b55fdde6e0bc1ad97a13991d41c5535459880 (diff) | |
download | slackbuilds-2c57ac091013da8b49b648122151cf616428f588.tar.gz |
system/xautomation: Fixed underlinking
Diffstat (limited to 'system/xautomation/xautomation.SlackBuild')
-rw-r--r-- | system/xautomation/xautomation.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/system/xautomation/xautomation.SlackBuild b/system/xautomation/xautomation.SlackBuild index 9b6cc4f41f..e2ab84cd7d 100644 --- a/system/xautomation/xautomation.SlackBuild +++ b/system/xautomation/xautomation.SlackBuild @@ -6,15 +6,13 @@ PRGNAM=xautomation VERSION=${VERSION:-1.03} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -55,6 +53,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +LDFLAGS="-lX11" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -67,9 +66,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |