Commits

Anonymous committed bd44cbc

Update libgcrypt to 1.5.2

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>

Comments (0)

Files changed (2)

var/vabs/libgcrypt/src/libgcrypt.SlackBuild

 # AUTHORS = 
 
 NAME="libgcrypt"            #Enter package Name!
-VERSION=${VERSION:-"1.5.0"}      #Enter package Version!
+VERSION=${VERSION:-"1.5.2"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
-LINK=${LINK:-"ftp://ftp.gnupg.org/gcrypt/$NAME/$NAME-$VERSION.tar.gz"}  #Enter URL for package here!
+LINK=${LINK:-"ftp://ftp.gnupg.org/gcrypt/$NAME/$NAME-$VERSION.tar.bz2"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 # Put any Patches here *NOTE this only works if all 
 # your patches use the -p1 strip option!
 #-----------------------------------------------------
-for i in $CWD/patches/*;do
-  patch -p1 <$i
-  mkdir -p $PKG/usr/doc/$NAME-$VERSION/patches/
-  cp $i $PKG/usr/doc/$NAME-$VERSION/patches/
-done
+#for i in $CWD/patches/*;do
+#  patch -p1 <$i
+#  mkdir -p $PKG/usr/doc/$NAME-$VERSION/patches/
+#  cp $i $PKG/usr/doc/$NAME-$VERSION/patches/
+#done
 #-----------------------------------------------------
  
  
   --sysconfdir=/etc \
   --localstatedir=/var \
   --mandir=/usr/man \
-  --with-included-gettext \
-  --disable-debug \
+  --docdir=/usr/doc/$NAME-$VERSION \
+  --enable-shared=yes \
+  --enable-static=no \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a AUTHORS COPYING ChangeLog Credits MANIFEST README TODO \
+cp -a AUTHORS COPYING* ChangeLog* INSTALL NEWS README* THANKS TODO \
 $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 # customary to leave one space after the ':'.
 
 $SHIM|-----handy-ruler------------------------------------------------------|
-$NAME: $NAME ()
+$NAME: $NAME (General purpose crypto library)
 $NAME:
-$NAME: 
-$NAME: 
+$NAME: Libgcrypt is a general purpose crypto library based on the code 
+$NAME: used in GnuPG. 
 $NAME: 
 $NAME: 
 $NAME:
 $NAME:
 $NAME: License: GPL
-$NAME: Authors: 
-$NAME: Website: 
+$NAME: Authors: http://www.gnupg.org/
+$NAME: Website: http://www.gnupg.org/
 
 EOF
 fi
 fi
 #--------------------------------------------------------------
 
-# vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+# vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##

var/vabs/libgcrypt/src/slack-desc

-# 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------------------------------------------------------|
-libgcrypt: libgcrypt (General purpose crypto library)
-libgcrypt:
-libgcrypt: Libgcrypt is a general purpose crypto library based on the code 
-libgcrypt: used in GnuPG. 
-libgcrypt:
-libgcrypt:
-libgcrypt:
-libgcrypt:
-libgcrypt:
-libgcrypt:
-libgcrypt: