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.