summaryrefslogtreecommitdiff
path: root/external/libassuan/ExternalProject_libassuan.mk
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-02-10 17:51:35 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-02-16 12:14:02 +0000
commit4a53df9cd7e58230bbb5f5c46161861010ca220f (patch)
treee2fd7c2da6d05c16105b3954bd6d3480d8221597 /external/libassuan/ExternalProject_libassuan.mk
parent99263598bfb7911a18dae48e1d9fc01e11e0143c (diff)
gpg4libre: Build internal libgpg-error, libassuan and gpgme(pp)
Change-Id: I1953e7062b872340b844771adc8ebe40f524cc76 Reviewed-on: https://gerrit.libreoffice.org/34227 Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'external/libassuan/ExternalProject_libassuan.mk')
-rw-r--r--external/libassuan/ExternalProject_libassuan.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/external/libassuan/ExternalProject_libassuan.mk b/external/libassuan/ExternalProject_libassuan.mk
new file mode 100644
index 000000000000..cbd0aaf269c5
--- /dev/null
+++ b/external/libassuan/ExternalProject_libassuan.mk
@@ -0,0 +1,27 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_ExternalProject_ExternalProject,libassuan))
+
+$(eval $(call gb_ExternalProject_register_targets,libassuan,\
+ build \
+))
+
+$(eval $(call gb_ExternalProject_use_autoconf,libassuan,build))
+
+$(call gb_ExternalProject_get_state_target,libassuan,build):
+ $(call gb_ExternalProject_run,build,\
+ autoreconf \
+ && ./configure \
+ GPG_ERROR_CFLAGS="$(GPG_ERROR_CFLAGS)" \
+ GPG_ERROR_LIBS="$(GPG_ERROR_LIBS)" \
+ && $(MAKE) \
+ )
+
+# vim: set noet sw=4 ts=4: