mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/libgpg-error: Initial import
This commit is contained in:
parent
29b73daef9
commit
30be639280
4 changed files with 75 additions and 0 deletions
4
libraries/libgpg-error/README
Normal file
4
libraries/libgpg-error/README
Normal file
|
@ -0,0 +1,4 @@
|
|||
The package libgpg-error contains common error codes and error
|
||||
handling functions used by GnuPG, Libgcrypt, GPGME and more
|
||||
packages.
|
||||
|
53
libraries/libgpg-error/libgpg-error.SlackBuild
Normal file
53
libraries/libgpg-error/libgpg-error.SlackBuild
Normal file
|
@ -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
|
8
libraries/libgpg-error/libgpg-error.info
Normal file
8
libraries/libgpg-error/libgpg-error.info
Normal file
|
@ -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"
|
10
libraries/libgpg-error/slack-desc
Normal file
10
libraries/libgpg-error/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue