openbsd-ports/security/libgcrypt/Makefile
2010-11-20 17:22:40 +00:00

39 lines
935 B
Makefile

# $OpenBSD: Makefile,v 1.21 2010/11/20 17:22:43 espie Exp $
COMMENT= crypto library based on code used in GnuPG
DISTNAME= libgcrypt-1.4.6
CATEGORIES= security
SHARED_LIBS= gcrypt 15.0 # .17.0
HOMEPAGE= http://www.gnu.org/directory/security/libgcrypt.html
# GPLv2/LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
ftp://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/ \
http://ftp.planetmirror.com/pub/gnupg/libgcrypt/ \
http://sunsite.dk/pub/security/gcrypt/libgcrypt/ \
http://ftp.linux.it/pub/mirrors/gnupg/libgcrypt/
MODULES= devel/gettext
LIB_DEPENDS= security/libgpg-error>=1.9
WANTLIB= c gpg-error
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static
.if ${MACHINE_ARCH} != "hppa"
CONFIGURE_ARGS+= --disable-asm
.endif
.include <bsd.port.mk>