diff options
author | Aleksandar Samardzic <asamardzic@gmail.com> | 2010-05-12 17:38:19 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:38:19 +0200 |
commit | 3783237f6fc01a0833a0aae1c08e9c9683dd5c5d (patch) | |
tree | 41e87e3e6acdfba3fc823dd2e5e2a4539f522d1c | |
parent | a58a9bb6b552576e3d6fece805790a98a5c0934e (diff) | |
download | slackbuilds-3783237f6fc01a0833a0aae1c08e9c9683dd5c5d.tar.gz |
development/bugle: Updated for version 0.0.20080123
-rw-r--r-- | development/bugle/README | 3 | ||||
-rw-r--r-- | development/bugle/bugle.SlackBuild | 15 | ||||
-rw-r--r-- | development/bugle/bugle.info | 10 |
3 files changed, 19 insertions, 9 deletions
diff --git a/development/bugle/README b/development/bugle/README index a4ee126569..3e5409a063 100644 --- a/development/bugle/README +++ b/development/bugle/README @@ -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. diff --git a/development/bugle/bugle.SlackBuild b/development/bugle/bugle.SlackBuild index 2382f90bbb..37fcaaa15b 100644 --- a/development/bugle/bugle.SlackBuild +++ b/development/bugle/bugle.SlackBuild @@ -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 ) diff --git a/development/bugle/bugle.info b/development/bugle/bugle.info index 9ab868a660..6084d0c0d7 100644 --- a/development/bugle/bugle.info +++ b/development/bugle/bugle.info @@ -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" |