libraries/quesoglc: Miscellaneous fixes.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Matthew Fillpot 2010-10-17 09:47:00 -04:00 committed by Robby Workman
parent 2bb8d8c740
commit 8de073c005
3 changed files with 29 additions and 8 deletions

View File

@ -2,7 +2,7 @@
# SlackBuild script for QuesoGLC
# Copyright 2009 Matthew "mfillpot" Fillpot
# Copyright 2010 Matthew "mfillpot" Fillpot
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,10 +24,19 @@
PRGNAM=quesoglc
VERSION=${VERSION:-0.7.2}
ARCH=${ARCH:-i486}
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
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -71,6 +80,18 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
#No man pages
#No info pages
find $PKG -name perllocal.pod \
-o -name ".packlist" \
-o -name "*.bs" \
| xargs rm -f
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL THANKS README \
$PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -3,8 +3,8 @@ VERSION="0.7.2"
HOMEPAGE="http://quesoglc.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/quesoglc/quesoglc-0.7.2.tar.bz2"
MD5SUM="1c8d394d4f41fa0c5b08eb7ead73c4ef"
DOWNLOAD_x86_64="http://downloads.sourceforge.net/quesoglc/quesoglc-0.7.2.tar.bz2"
MD5SUM_x86_64="1c8d394d4f41fa0c5b08eb7ead73c4ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Matthew Fillpot"
EMAIL="mfillpot@gmail.com"
APPROVED="rworkman"
EMAIL="mfilpot@gmail.com"
APPROVED="dsomero"