diff options
author | Kyle Guinn | 2010-05-13 00:29:44 +0200 |
---|---|---|
committer | Erik Hanson | 2010-05-13 00:29:44 +0200 |
commit | 772855546624f409e3c438ff72b112dbaaf6ab90 (patch) | |
tree | cf17788efe13d4a1ae53354016f83e6764d241f7 /libraries/gtkglarea | |
parent | e4c527d51b6f4e05479999cf2c3ad66d08939d2a (diff) | |
download | slackbuilds-772855546624f409e3c438ff72b112dbaaf6ab90.tar.gz |
libraries/gtkglarea: Updated for version 1.99.0
Diffstat (limited to 'libraries/gtkglarea')
-rw-r--r-- | libraries/gtkglarea/gtkglarea.SlackBuild | 24 | ||||
-rw-r--r-- | libraries/gtkglarea/gtkglarea.info | 2 | ||||
-rw-r--r-- | libraries/gtkglarea/slack-desc | 8 |
3 files changed, 25 insertions, 9 deletions
diff --git a/libraries/gtkglarea/gtkglarea.SlackBuild b/libraries/gtkglarea/gtkglarea.SlackBuild index ff80326b22..fbccfc26bd 100644 --- a/libraries/gtkglarea/gtkglarea.SlackBuild +++ b/libraries/gtkglarea/gtkglarea.SlackBuild @@ -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} diff --git a/libraries/gtkglarea/gtkglarea.info b/libraries/gtkglarea/gtkglarea.info index 345357914d..b384fe5442 100644 --- a/libraries/gtkglarea/gtkglarea.info +++ b/libraries/gtkglarea/gtkglarea.info @@ -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" diff --git a/libraries/gtkglarea/slack-desc b/libraries/gtkglarea/slack-desc index dc639e0193..b69b577d86 100644 --- a/libraries/gtkglarea/slack-desc +++ b/libraries/gtkglarea/slack-desc @@ -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. |