summaryrefslogtreecommitdiff
path: root/external/libxmlsec/UnpackedTarball_xmlsec.mk
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-11-04 18:57:38 +0200
committerDavid Tardon <dtardon@redhat.com>2013-11-04 23:58:10 -0600
commit27c65f8abde3c971d238c990661ffb909d1c7bba (patch)
treeae2eee7d1a863fe7e46c9019c7b41c100703cf36 /external/libxmlsec/UnpackedTarball_xmlsec.mk
parentc69941fc45717398a870a9c479dd62e06f4733ef (diff)
fdo#70393: move libxmlsec to a subdir of external
Change-Id: I1bcdd01aad7fc2ee2d2f635b0ae4c4183c9ab092 Reviewed-on: https://gerrit.libreoffice.org/6571 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/libxmlsec/UnpackedTarball_xmlsec.mk')
-rw-r--r--external/libxmlsec/UnpackedTarball_xmlsec.mk45
1 files changed, 45 insertions, 0 deletions
diff --git a/external/libxmlsec/UnpackedTarball_xmlsec.mk b/external/libxmlsec/UnpackedTarball_xmlsec.mk
new file mode 100644
index 000000000000..6d1cb4317035
--- /dev/null
+++ b/external/libxmlsec/UnpackedTarball_xmlsec.mk
@@ -0,0 +1,45 @@
+# -*- 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_UnpackedTarball_UnpackedTarball,xmlsec))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,xmlsec,$(LIBXMLSEC_TARBALL),,libxmlsec))
+
+$(eval $(call gb_UnpackedTarball_add_patches,xmlsec,\
+ external/libxmlsec/xmlsec1-configure.patch \
+ external/libxmlsec/xmlsec1-configure-libxml-libxslt.patch \
+ external/libxmlsec/xmlsec1-olderlibxml2.patch \
+ external/libxmlsec/xmlsec1-oldlibtool.patch \
+ external/libxmlsec/xmlsec1-nssdisablecallbacks.patch \
+ external/libxmlsec/xmlsec1-nssmangleciphers.patch \
+ external/libxmlsec/xmlsec1-noverify.patch \
+ external/libxmlsec/xmlsec1-mingw-keymgr-mscrypto.patch \
+ external/libxmlsec/xmlsec1-vc.patch \
+ external/libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch \
+ external/libxmlsec/xmlsec1-android.patch \
+ external/libxmlsec/xmlsec1-1.2.14-ansi.patch \
+ external/libxmlsec/xmlsec1-customkeymanage.patch \
+))
+
+$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/mscrypto/akmngr.h,external/libxmlsec/include/akmngr_mscrypto.h))
+$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/mscrypto/akmngr.c,external/libxmlsec/src/akmngr_mscrypto.c))
+$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/akmngr.h,external/libxmlsec/include/akmngr_nss.h))
+$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/ciphers.h,external/libxmlsec/include/ciphers.h))
+$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/tokens.h,external/libxmlsec/include/tokens.h))
+$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/akmngr.c,external/libxmlsec/src/akmngr_nss.c))
+$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/keywrapers.c,external/libxmlsec/src/keywrapers.c))
+$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/tokens.c,external/libxmlsec/src/tokens.c))
+
+ifeq ($(OS)$(COM),WNTGCC)
+$(eval $(call gb_UnpackedTarball_add_patches,xmlsec,\
+ external/libxmlsec/xmlsec1-mingw32.patch \
+))
+endif
+
+# vim: set noet sw=4 ts=4: