diff options
author | Cezary M. Kruk <c.kruk@bigfoot.com> | 2011-08-18 10:57:10 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-08-18 10:57:10 -0300 |
commit | f8423590e5527ec17e27697194f9f9c4d9c6873c (patch) | |
tree | 6a27291c77c9a9354e3a1d37fa2bd540647f3886 /desktop/wmSun/wmSun.SlackBuild | |
parent | 85175405cd3a52862a51c6384cd80c12d838d6f8 (diff) | |
download | slackbuilds-f8423590e5527ec17e27697194f9f9c4d9c6873c.tar.gz |
desktop/wmSun: Updated for version 1.10.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 db34d8dfd3..233f352dea 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 |