aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:07:59 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:07:59 +0200
commite400edc900602dfbd3c855536a87931285437e30 (patch)
tree00535f71566fb5b34688e22d36a57d7211151799 /libraries
parent06c3299e950bfe265502cdd80fba0ff71ada2805 (diff)
libraries/glew: Removed from 13.0 repository
Diffstat (limited to 'libraries')
-rw-r--r--libraries/glew/README4
-rw-r--r--libraries/glew/glew.SlackBuild66
-rw-r--r--libraries/glew/glew.info8
-rw-r--r--libraries/glew/glew_glapientry.patch10
-rw-r--r--libraries/glew/slack-desc19
5 files changed, 0 insertions, 107 deletions
diff --git a/libraries/glew/README b/libraries/glew/README
deleted file mode 100644
index 0b8070adee0b..000000000000
--- a/libraries/glew/README
+++ /dev/null
@@ -1,4 +0,0 @@
-The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
-open-source C/C++ extension loading library. GLEW provides efficient
-run-time mechanisms for determining which OpenGL extensions are
-supported on the target platform.
diff --git a/libraries/glew/glew.SlackBuild b/libraries/glew/glew.SlackBuild
deleted file mode 100644
index 9e8ea552e69b..000000000000
--- a/libraries/glew/glew.SlackBuild
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for glew
-# Written by David Spencer <nobbutl@yahoo.co.uk>
-# This script is dedicated to the public domain
-
-PRGNAM=glew
-VERSION=1.5.1
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-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
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tgz
-cd $PRGNAM
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-chmod 0755 doc ; chmod a-x doc/*
-
-# This patch resolves a clash between Glew and Slackware's Mesa Glut
-# (unpatched glew.h undefs a macro GLAPIENTRY defined by Mesa Glut's glu.h).
-patch -p1 < $CWD/glew_glapientry.patch
-# Fix build error in 1.5.1 (bug 2274802)
-_TEMPFILE=$(mktemp)
-fromdos < config/config.guess > ${_TEMPFILE}
-cat ${_TEMPFILE} > config/config.guess ; rm -f ${_TEMPFILE}
-
-make OPT="$SLKCFLAGS"
-make install GLEW_DEST=$PKG/usr
-
-( cd $PKG
- 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
-)
-
-# Kill the static library; we shouldn't need it.
-rm $PKG/usr/lib/libGLEW.a
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt README.txt doc/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/libraries/glew/glew.info b/libraries/glew/glew.info
deleted file mode 100644
index bf37c1176be6..000000000000
--- a/libraries/glew/glew.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="glew"
-VERSION="1.5.1"
-HOMEPAGE="http://glew.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/glew/glew-1.5.1-src.tgz"
-MD5SUM="759a59853dfaae4d007b414a3c1712f2"
-MAINTAINER="David Spencer"
-EMAIL="nobbutl@yahoo.co.uk"
-APPROVED="rworkman"
diff --git a/libraries/glew/glew_glapientry.patch b/libraries/glew/glew_glapientry.patch
deleted file mode 100644
index 3dc1e4b30824..000000000000
--- a/libraries/glew/glew_glapientry.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- glew-1.5.1/include/GL/glew.h 2008-11-03 06:25:21.000000000 +0000
-+++ glew-patched/include/GL/glew.h 2008-11-21 23:23:16.000000000 +0000
-@@ -12243,7 +12243,6 @@
- #ifdef GLEW_APIENTRY_DEFINED
- #undef GLEW_APIENTRY_DEFINED
- #undef APIENTRY
--#undef GLAPIENTRY
- #endif
-
- #ifdef GLEW_CALLBACK_DEFINED
diff --git a/libraries/glew/slack-desc b/libraries/glew/slack-desc
deleted file mode 100644
index 5adb63318d41..000000000000
--- a/libraries/glew/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-glew: glew (the OpenGL Extension Wrangler Library)
-glew:
-glew: The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
-glew: open-source C/C++ extension loading library. GLEW provides efficient
-glew: run-time mechanisms for determining which OpenGL extensions are
-glew: supported on the target platform.
-glew:
-glew: Homepage: http://glew.sourceforge.net/
-glew:
-glew:
-glew: