summaryrefslogtreecommitdiff
path: root/chat/libgadu/Makefile
blob: 06bf5a96b8858ce51051b4ea541a0506e85abbe7 (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
# $NetBSD: Makefile,v 1.10 2020/11/05 09:07:35 ryoon Exp $

DISTNAME=	libgadu-1.12.2
PKGREVISION=	7
CATEGORIES=	chat
MASTER_SITES=	${MASTER_SITE_GITHUB:=wojtekka/}

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	https://libgadu.net/
COMMENT=	Library for handling the protocol of Gadu-Gadu
LICENSE=	gnu-lgpl-v2.1

USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
USE_TOOLS+=		autoconf automake gmake perl:test pkg-config
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--without-bind
# XXX: https://github.com/wojtekka/libgadu/issues/25
CONFIGURE_ARGS+=	--without-pthread
PKGCONFIG_OVERRIDE+=	pkgconfig/libgadu.pc.in
TEST_TARGET=		check

REPLACE_PERL=	test/protocol/compile

pre-configure:
	cd ${WRKSRC} && \
	${SETENV} NOCONFIGURE=no ${SH} ./autogen.sh

.include "../../devel/protobuf-c/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"