#!/bin/sh
#
# Copyright 2004 Dagmar d'Surreal <rivyqntzne@tznvy.pbz>
# Available under the terms of the GNU GPL.
#

NAME="libgcrypt"
VERSION="1.2.2"
REVISION="1"

PKG_SOURCEURL='http://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-$VERSION.tar.gz'

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh

cflags
prepare
analyzesource
configure --enable-m-protect \
  --with-capabilities \
  --enable-noexecstack # perhaps useless right now, but soon
make
# Someday maybe the ac test will actually complete?
# makecheck
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
