diff options
Diffstat (limited to 'desktop/wmSun/wmSun.SlackBuild')
-rw-r--r-- | desktop/wmSun/wmSun.SlackBuild | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/desktop/wmSun/wmSun.SlackBuild b/desktop/wmSun/wmSun.SlackBuild index db34d8dfd32ad..233f352dea15e 100644 --- a/desktop/wmSun/wmSun.SlackBuild +++ b/desktop/wmSun/wmSun.SlackBuild @@ -6,16 +6,14 @@ # Modified by the SlackBuilds.org project. PRGNAM=wmSun -VERSION=${VERSION:-1.03} +VERSION=${VERSION:-1.10} BUILD=${BUILD:-1} 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 @@ -54,16 +52,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# We have to "make clean" first, because guess what's in there already? -# wmSun: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), -# dynamically linked (uses shared libs), not stripped -# Anyone want to guess how that ends on an x86_64 system? :-) - cd wmSun mkdir -p $PKG/usr/{bin,man/man1} - make clean make \ - CFLAGS="$SLKCFLAGS" \ + COPTS="$SLKCFLAGS" \ INCDIR="-I/usr/include/X11" \ LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11" make install DESTDIR=$PKG/usr @@ -72,13 +64,11 @@ cd - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 BUGS COPYING TODO \ +cp -a COPYING ChangeLog INSTALL README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |