summaryrefslogtreecommitdiff
path: root/development/gc/gc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gc/gc.SlackBuild')
-rw-r--r--development/gc/gc.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/development/gc/gc.SlackBuild b/development/gc/gc.SlackBuild
index 4c147b4ebd..ae3e7b4262 100644
--- a/development/gc/gc.SlackBuild
+++ b/development/gc/gc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gc
-# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2012 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gc
-VERSION=${VERSION:-7.1}
+VERSION=${VERSION:-7.2d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+TARVERS=7.2
+
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -61,9 +63,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-$TARVERS
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $PRGNAM-$TARVERS
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -85,7 +87,7 @@ gzip -9 $PKG/usr/man/man1/gc.1
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/gc $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 644 {} \;
( cd $PKG/usr/share ; ln -s /usr/doc/$PRGNAM-$VERSION gc )