1. Rodrigo Bistolfi
  2. vabs

Commits

Rodrigo Bistolfi  committed e1cac25

scons: fix source download link

  • Participants
  • Parent commits 0e0dc03
  • Branches veclinux-7.1

Comments (0)

Files changed (1)

File var/vabs/scons/src/scons.SlackBuild

View file
 NAME="scons"            #Enter package Name!
 VERSION=${VERSION:-"2.3.0"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
-VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
-LINK=${LINK:-"http://downloads.sourceforge.net/scons/scons-2.2.0.tar.gz"}  #Enter URL for package here!
+VL_PACKAGER=${VL_PACKAGER:-"rbistolfi"}   #Enter your Name!
+LINK=${LINK:-"http://downloads.sourceforge.net/scons/${NAME}-${VERSION}.tar.gz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
 cp -a CHANGES.txt LICENSE.txt MANIFEST README.txt RELEASE.txt PKG-INFO \
-$PKG/usr/doc/$NAME-$VERSION
+    $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 #----------------------------------------------------------------------
 
 if [ -d $PKG/usr/share/man ] ; then
-mkdir -p $PKG/usr/man
-mv $PKG/usr/share/man/* $PKG/usr/man
-rm -rf $PKG/usr/share/man
+  mkdir -p $PKG/usr/man
+  mv $PKG/usr/share/man/* $PKG/usr/man
+  rm -rf $PKG/usr/share/man
 fi
 find $PKG/usr/man -type f -exec gzip -9 {} \;
 
-if [ -d $PKG/usr/share/info ] ; then
-mkdir -p $PKG/usr/info
-mv $PKG/usr/share/info/* $PKG/usr/info
-rm -rf $PKG/usr/share/info
-fi 
-
-find $PKG/usr/info -type f -exec gzip -9 {} \;
-mkdir -p $PKG/install
-if [ -d $PKG/usr/info ] ; then
-cat >> $PKG/install/doinst.sh << EOF
-cd usr/info
-if [ -f dir ]; then
-    rm dir
-fi
-if [ -f dir.gz ]; then
-    rm dir.gz
-fi
-for i in *.info.gz
-        do
-        install-info $i dir
-    done
-EOF
-fi
-
 mkdir -p $PKG/install
 
-
 #if there is a slack-desc in src dir use it
 if test -f $CWD/slack-desc; then
-cp $CWD/slack-desc $RELEASEDIR/slack-desc
+  cp $CWD/slack-desc $RELEASEDIR/slack-desc
 else
 # This creates the white space in front of "handy-ruler" in slack-desc below.
 
 # customary to leave one space after the ':'.
 
 $SHIM|-----handy-ruler------------------------------------------------------|
-$NAME: $NAME (a software construction tool)
+$NAME: A software construction tool, substitute for Make
 $NAME: SCons is a software construction tool (build tool, substitute for Make) 
 $NAME: implemented in Python, based on the winning design in the Software 
 $NAME: Carpentry build tool competition (in turn based on the Cons build tool).