diff options
author | Kyle Guinn <elyk03@gmail.com> | 2010-05-13 00:29:44 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:29:44 +0200 |
commit | 772855546624f409e3c438ff72b112dbaaf6ab90 (patch) | |
tree | cf17788efe13d4a1ae53354016f83e6764d241f7 /libraries/gtkglarea/gtkglarea.SlackBuild | |
parent | e4c527d51b6f4e05479999cf2c3ad66d08939d2a (diff) |
libraries/gtkglarea: Updated for version 1.99.0
Diffstat (limited to 'libraries/gtkglarea/gtkglarea.SlackBuild')
-rw-r--r-- | libraries/gtkglarea/gtkglarea.SlackBuild | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/libraries/gtkglarea/gtkglarea.SlackBuild b/libraries/gtkglarea/gtkglarea.SlackBuild index ff80326b225ad..fbccfc26bd188 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} |