libraries/gtkglarea: Updated for version 1.99.0

This commit is contained in:
Kyle Guinn 2010-05-13 00:29:44 +02:00 committed by Erik Hanson
parent e4c527d51b
commit 7728555466
3 changed files with 25 additions and 9 deletions

View file

@ -17,9 +17,14 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
@ -35,12 +40,13 @@ chmod -R u+w,go+r-w,a-st .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-shared \
--disable-static \
--build=$ARCH-slackware-linux
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-shared \
--disable-static \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@ -53,4 +59,4 @@ 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
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -2,7 +2,9 @@ PRGNAM="gtkglarea"
VERSION="1.99.0"
HOMEPAGE="http://www.student.oulu.fi/~jlof/gtkglarea/"
DOWNLOAD="http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/gtkglarea-1.99.0.tar.bz2"
DOWNLOAD_x86_64=""
MD5SUM="cd69f77240ae8038f95a2e5e0b7e5f25"
MD5SUM_x86_64=""
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
APPROVED="Erik Hanson"

View file

@ -1,3 +1,11 @@
# 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------------------------------------------------------|
gtkglarea: GtkGLArea (OpenGL widget for GTK+)
gtkglarea:
gtkglarea: GtkGLArea is an OpenGL widget for GTK+ GUI toolkit.