openbsd-ports/security/libgcrypt/Makefile
2010-07-27 21:45:47 +00:00

39 lines
954 B
Makefile

# $OpenBSD: Makefile,v 1.20 2010/07/27 21:45:47 ajacoutot 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= :libgpg-error->=1.9:security/libgpg-error
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>