openbsd-ports/security/libgcrypt/Makefile

39 lines
922 B
Makefile

# $OpenBSD: Makefile,v 1.24 2012/04/04 06:59:23 ajacoutot Exp $
COMMENT= crypto library based on code used in GnuPG
DISTNAME= libgcrypt-1.5.0
CATEGORIES= security
SHARED_LIBS += gcrypt 18.0 # 18.0
HOMEPAGE= http://www.gnupg.org/
# 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
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>