summaryrefslogtreecommitdiff
path: root/libxmlsec/UnpackedTarball_xmlsec.mk
blob: fc2ed16a53365a1fcb1f3eb88cc1b8046e8c3778 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- 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)))

$(eval $(call gb_UnpackedTarball_add_patches,xmlsec,\
	libxmlsec/xmlsec1-configure.patch \
	libxmlsec/xmlsec1-configure-libxml-libxslt.patch \
	libxmlsec/xmlsec1-olderlibxml2.patch \
	libxmlsec/xmlsec1-oldlibtool.patch \
	libxmlsec/xmlsec1-nssdisablecallbacks.patch \
	libxmlsec/xmlsec1-nssmangleciphers.patch \
	libxmlsec/xmlsec1-noverify.patch \
	libxmlsec/xmlsec1-mingw-keymgr-mscrypto.patch \
	libxmlsec/xmlsec1-vc.patch \
	libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch \
	libxmlsec/xmlsec1-android.patch \
	libxmlsec/xmlsec1-1.2.14-ansi.patch \
	libxmlsec/xmlsec1-customkeymanage.patch \
))

$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/mscrypto/akmngr.h,libxmlsec/include/akmngr_mscrypto.h))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/mscrypto/akmngr.c,libxmlsec/src/akmngr_mscrypto.c))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/akmngr.h,libxmlsec/include/akmngr_nss.h))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/ciphers.h,libxmlsec/include/ciphers.h))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,include/xmlsec/nss/tokens.h,libxmlsec/include/tokens.h))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/akmngr.c,libxmlsec/src/akmngr_nss.c))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/keywrapers.c,libxmlsec/src/keywrapers.c))
$(eval $(call gb_UnpackedTarball_add_file,xmlsec,src/nss/tokens.c,libxmlsec/src/tokens.c))

ifeq ($(OS)$(COM),WNTGCC)
$(eval $(call gb_UnpackedTarball_add_patches,xmlsec,\
	libxmlsec/xmlsec1-mingw32.patch \
))
endif

ifeq ($(OS)$(CPU),MACOSXP)
$(eval $(call gb_UnpackedTarball_add_patches,xmlsec,\
	libxmlsec/xmlsec1-1.2.14_old_automake.patch \
))
endif

# vim: set noet sw=4 ts=4: