mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
desktop/wmSun: Updated for version 1.10.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
85175405cd
commit
f8423590e5
2 changed files with 10 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="wmSun"
|
||||
VERSION="1.03"
|
||||
HOMEPAGE="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/time.html#wmsun"
|
||||
DOWNLOAD="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmSun-1.03.tar.gz"
|
||||
MD5SUM="defc6747ebdb64b5d3afe91f916d3acc"
|
||||
VERSION="1.10"
|
||||
HOMEPAGE="http://linux-bsd-unix.strefa.pl/"
|
||||
DOWNLOAD="http://linux-bsd-unix.strefa.pl/wmSun-1.10.tar.gz"
|
||||
MD5SUM="6181477de4811f2940bdc45d8b791c12"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Cezary M. Kruk"
|
||||
EMAIL="c.kruk@bigfoot.com"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="Niels Horn"
|
||||
|
|
Loading…
Reference in a new issue