summaryrefslogtreecommitdiff
path: root/security/libassuan/Makefile
blob: f8cceba25ff5012b01538f84d1f4f17bbc3a53c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.18 2011/04/22 13:42:48 obache Exp $
#

DISTNAME=		libassuan-1.0.5
PKGREVISION=		1
CATEGORIES=		security
MASTER_SITES=		ftp://ftp.gnupg.org/gcrypt/libassuan/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		shannonjr@NetBSD.org
HOMEPAGE=		ftp://ftp.gnupg.org/gcrypt/libassuan/
COMMENT=		The IPC library used by some GnuPG related software

PKG_INSTALLATION_TYPES=	overwrite pkgviews
PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		yes
INFO_FILES=		yes
USE_TOOLS+=		autoconf autoreconf automake
USE_LIBTOOL=		yes
###
### XXX By default, this package will build with -fPIC on linux.
###	Instead, let's patch it to use libtool and use --with-pic
###	to build position-independent code when possible.
CONFIGURE_ARGS+=	--with-pic
TEST_TARGET=		check

BUILDLINK_API_DEPENDS.libgpg-error+=	libgpg-error>=1.0.0

pre-configure:
	cd ${WRKSRC} && libtoolize
	cd ${WRKSRC} && \
		${SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} autogen.sh

.include "../../security/libgpg-error/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"