diff options
-rw-r--r-- | libraries/libgpg-error/README | 4 | ||||
-rw-r--r-- | libraries/libgpg-error/libgpg-error.SlackBuild | 53 | ||||
-rw-r--r-- | libraries/libgpg-error/libgpg-error.info | 8 | ||||
-rw-r--r-- | libraries/libgpg-error/slack-desc | 10 |
4 files changed, 75 insertions, 0 deletions
diff --git a/libraries/libgpg-error/README b/libraries/libgpg-error/README new file mode 100644 index 0000000000..1a9333e80f --- /dev/null +++ b/libraries/libgpg-error/README @@ -0,0 +1,4 @@ +The package libgpg-error contains common error codes and error +handling functions used by GnuPG, Libgcrypt, GPGME and more +packages. + diff --git a/libraries/libgpg-error/libgpg-error.SlackBuild b/libraries/libgpg-error/libgpg-error.SlackBuild new file mode 100644 index 0000000000..07e327a1ae --- /dev/null +++ b/libraries/libgpg-error/libgpg-error.SlackBuild @@ -0,0 +1,53 @@ +#!/bin/sh + +# Slackware build script for libgpg-error +# Written by Erik Hanson erik@slackbuilds.org +# Modified by the SlackBuilds.org project + +PRGNAM=libgpg-error +VERSION=1.5 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=`pwd` +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-shared=yes \ + --enable-static=no \ + || exit 1 + +make || exit 1 +make install-strip DESTDIR=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS AUTHORS COPYING* ChangeLog NEWS README THANKS VERSION \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/libraries/libgpg-error/libgpg-error.info b/libraries/libgpg-error/libgpg-error.info new file mode 100644 index 0000000000..2d1ab51d7d --- /dev/null +++ b/libraries/libgpg-error/libgpg-error.info @@ -0,0 +1,8 @@ +PRGNAM="libgpg-error" +VERSION="1.5" +HOMEPAGE="http://www.gnupg.org/" +DOWNLOAD="ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.5.tar.bz2" +MD5SUM="8599b96c911b1df1be24a6ff4ec3c364" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="elohim,robw810" diff --git a/libraries/libgpg-error/slack-desc b/libraries/libgpg-error/slack-desc new file mode 100644 index 0000000000..2a3e721df1 --- /dev/null +++ b/libraries/libgpg-error/slack-desc @@ -0,0 +1,10 @@ +libgpg-error: libgpg-error - a small library used by most GnuPG related software. +libgpg-error: +libgpg-error: The package libgpg-error contains common error codes and error +libgpg-error: handling functions used by GnuPG, Libgcrypt, GPGME and more +libgpg-error: packages. +libgpg-error: +libgpg-error: http://www.gnupg.org/ +libgpg-error: +libgpg-error: +libgpg-error: |