summaryrefslogtreecommitdiff
path: root/development/gc/gc.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:24:38 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:24:38 +0200
commiteeb05cf1f2dd51f8a1cd17cf0f601940ee5c9ac3 (patch)
treec811918c2079d7cf8e2fd3b30830a68b1425d952 /development/gc/gc.SlackBuild
parent525845cb47089c45f9145a8de5104190a385d1d9 (diff)
downloadslackbuilds-eeb05cf1f2dd51f8a1cd17cf0f601940ee5c9ac3.tar.gz
development/gc: Updated for version 7.1
Diffstat (limited to 'development/gc/gc.SlackBuild')
-rw-r--r--development/gc/gc.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/development/gc/gc.SlackBuild b/development/gc/gc.SlackBuild
index b6b85a2b7b..c39f9b42e8 100644
--- a/development/gc/gc.SlackBuild
+++ b/development/gc/gc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gc
-# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--enable-static=no \
--build=$ARCH-slackware-linux
@@ -77,4 +81,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}