development/bugle: Updated for version 0.0.20080123
This commit is contained in:
parent
a58a9bb6b5
commit
3783237f6f
|
@ -16,3 +16,6 @@ and disable filters, and drop into gdb to see what is going wrong. A
|
|||
GUI version of the debugger (gldb-gui) is currently in development,
|
||||
and a preliminary version is available with the latest releases. It
|
||||
features a texture viewer and a shader viewer.
|
||||
|
||||
The package is dependent upon glew package, also available here at
|
||||
SlackBuilds.org.
|
||||
|
|
|
@ -2,16 +2,17 @@
|
|||
|
||||
# Slackware build script for BuGLe
|
||||
|
||||
# Written by Aleksandar B. Samardzic <asamardzic@matf.bg.ac.yu>
|
||||
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
|
||||
|
||||
# Modified by the SlackBuilds.org project
|
||||
# (assumed to be public domain per our submission policy)
|
||||
|
||||
PRGNAM=bugle
|
||||
VERSION=0.0.20080123
|
||||
VERSION=${VERSION:-0.0.20080824}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -21,6 +22,8 @@ if [ "$ARCH" = "i486" ]; then
|
|||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -32,7 +35,11 @@ rm -rf $PRGNAM-$VERSION
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -48,7 +55,7 @@ make
|
|||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="bugle"
|
||||
VERSION="0.0.20080123"
|
||||
HOMEPAGE="http://www.opengl.org/sdk/tools/BuGLe/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/bugle/bugle-0.0.20080123.tar.bz2"
|
||||
MD5SUM="c5bc4581caa90829f8b23f0e4a714389"
|
||||
MAINTAINER="Aleksandar B. Samardzic"
|
||||
EMAIL="asamardzic@matf.bg.ac.yu"
|
||||
APPROVED="Erik Hanson"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/bugle/bugle-0.0.20080824.tar.bz2"
|
||||
MD5SUM="ba640a340e56a8ed0e5ffc96853c0e0f"
|
||||
MAINTAINER="Aleksandar Samardzic"
|
||||
EMAIL="asamardzic@gmail.com"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in New Issue