Commits

Lee Pak Hong  committed 967f2a3

Update libgpg-error to 1.12

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

  • Participants
  • Parent commits d04c4c5
  • Branches veclinux-7.0

Comments (0)

Files changed (2)

File var/vabs/libgpg-error/src/libgpg-error.SlackBuild

 # AUTHORS = 
 
 NAME="libgpg-error"            #Enter package Name!
-VERSION=${VERSION:-"1.10"}      #Enter package Version!
+VERSION=${VERSION:-"1.12"}      #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=yes \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 #Miscellenious tweaks and things outside a normal ./configure go here #
 #######################################################################
 
-
+# Move the shared library to $PKG/lib${LIBDIRSUFFIX}:
+mkdir -p $PKG/lib${LIBDIRSUFFIX}
+( cd $PKG/usr/lib${LIBDIRSUFFIX}
+  for file in lib*.so.?.* ; do
+    mv $file ../../lib${LIBDIRSUFFIX}
+    ln -sf ../../lib${LIBDIRSUFFIX}/$file .
+  done
+  cp -a lib*.so.? ../../lib${LIBDIRSUFFIX}
+)
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a AUTHORS COPYING ChangeLog Credits MANIFEST README TODO \
+cp -a ABOUT* AUTHORS COPYING* ChangeLog* INSTALL NEWS README THANKS \
 $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 (GnuPG Error Definitions Library)
 $NAME:
-$NAME: 
-$NAME: 
-$NAME: 
+$NAME: This is a library that defines common error values for all GnuPG
+$NAME: components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, 
+$NAME: libgcrypt, Libksba, DirMngr, Pinentry, SmartCard Daemon, and more.
 $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 : ##

File var/vabs/libgpg-error/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------------------------------------------------------|
-libgpg-error: libgpg-error (a small library with error codes and descriptions)
-libgpg-error:
-libgpg-error: Libgpg-error  is a small library with error codes and descriptions
-libgpg-error: shared by most GnuPG related software.
-libgpg-error:
-libgpg-error:
-libgpg-error:
-libgpg-error:
-libgpg-error:
-libgpg-error: libgpg-error home: http://www.gnupg.org/(en)/download/
-libgpg-error: