diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2020-01-12 14:42:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 14:42:41 +0700 |
commit | 9e62f952e542aaf25371796a5ac5b3fde0352855 (patch) | |
tree | fc6edd2737cf9978c089e7cca968cf44204914c1 /libraries/ftgl/ftgl.SlackBuild | |
parent | b2ec47f3957c707165bfabc1bd36758e0c8b794b (diff) | |
download | slackbuilds-9e62f952e542aaf25371796a5ac5b3fde0352855.tar.gz |
libraries/ftgl: Updated for version 2.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ftgl/ftgl.SlackBuild')
-rw-r--r-- | libraries/ftgl/ftgl.SlackBuild | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/libraries/ftgl/ftgl.SlackBuild b/libraries/ftgl/ftgl.SlackBuild index 42294ead0f..6e17a11527 100644 --- a/libraries/ftgl/ftgl.SlackBuild +++ b/libraries/ftgl/ftgl.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for ftgl # +# Copyright 2020 Johannes Schoepfer, Germany # Copyright 2007 Niklas "Nille" Åkerström # All rights reserved. # @@ -23,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ftgl -VERSION=${VERSION:-2.1.3_rc5} -BUILD=${BUILD:-4} +VERSION=${VERSION:-2.4.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$(echo $VERSION | tr _ \~) -tar xvf $CWD/$PRGNAM-$(echo $VERSION | tr _ -).tar.bz2 -cd $PRGNAM-$(echo $VERSION | tr _ \~) +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,23 +71,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix building with gcc-4.7.x -patch -p1 < $CWD/patches/gcc47.patch -# Fix spam that breaks build after autoreconfing -patch -p1 < $CWD/patches/spam.patch -# Avoid building pdf docs (seems broken ATM) -patch -p0 < $CWD/patches/nopdfdocs.patch -autoreconf -i +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS -std=gnu++11" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc + --disable-static make GLUT_LIBS="-lglut -lGLU -lGL -lm" make install-strip DESTDIR=$PKG +cp src/FT{Face,Size}.h $PKG/usr/include/FTGL mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \ |