summaryrefslogtreecommitdiff
path: root/chat/libgadu/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-01-20 17:25:10 +0000
committeradam <adam@pkgsrc.org>2020-01-20 17:25:10 +0000
commit5dbe6e695e175d68d8256dc86ff4141370ddf18d (patch)
tree482f8a4220e5b541257ad842eb9a684eb266cbfb /chat/libgadu/Makefile
parent21242328b9369e400e3e2816c512a006ce506f72 (diff)
downloadpkgsrc-5dbe6e695e175d68d8256dc86ff4141370ddf18d.tar.gz
libgadu: added version 1.12.2
libgadu is library for handling Gadu-Gadu instant messenger protocol. For a long time it was an intergral part of ekg application but due to packaging issues and use in other appliactions it became a project on its own. Proprietary protocol was reverse engineered which may make libgadu less than 100% compatible with the original.
Diffstat (limited to 'chat/libgadu/Makefile')
-rw-r--r--chat/libgadu/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/chat/libgadu/Makefile b/chat/libgadu/Makefile
new file mode 100644
index 00000000000..a8e3fe0fb65
--- /dev/null
+++ b/chat/libgadu/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2020/01/20 17:25:10 adam Exp $
+
+DISTNAME= libgadu-1.12.2
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_GITHUB:=wojtekka/}
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://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+= --with-openssl
+CONFIGURE_ARGS+= --without-bind
+CONFIGURE_ARGS+= --without-gnutls
+# 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/openssl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+#.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"