summaryrefslogtreecommitdiff
path: root/external/liblangtag/UnpackedTarball_langtag.mk
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-10-18 19:58:14 +0200
committerDavid Tardon <dtardon@redhat.com>2013-10-19 07:34:56 +0000
commitfc26490252a63b851560be0af97e14b784a20350 (patch)
tree43d01fdd4283e8f25589b3fe777c3d7cbecaba51 /external/liblangtag/UnpackedTarball_langtag.mk
parent36b554e96541f39ecc80b8ede3e260e3426a1936 (diff)
fdo#70393: move liblangtag to a subdir of external
Change-Id: I18cded289591bdf872c7a818326a35ac00d38482 Reviewed-on: https://gerrit.libreoffice.org/6330 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/liblangtag/UnpackedTarball_langtag.mk')
-rw-r--r--external/liblangtag/UnpackedTarball_langtag.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/external/liblangtag/UnpackedTarball_langtag.mk b/external/liblangtag/UnpackedTarball_langtag.mk
new file mode 100644
index 000000000000..88f7f167b437
--- /dev/null
+++ b/external/liblangtag/UnpackedTarball_langtag.mk
@@ -0,0 +1,34 @@
+# -*- 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,langtag))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,langtag,$(LIBLANGTAG_TARBALL),,liblangtag))
+
+$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
+ external/liblangtag/liblangtag-0.5.1-msvc-warning.patch \
+ external/liblangtag/liblangtag-0.5.1-vsnprintf.patch \
+ external/liblangtag/liblangtag-0.5.1-msvc-ssize_t.patch \
+ external/liblangtag/liblangtag-0.5.1-msvc-snprintf.patch \
+ external/liblangtag/liblangtag-0.5.1-msvc-strtoull.patch \
+ external/liblangtag/liblangtag-0.5.1-scope-declaration.patch \
+ external/liblangtag/liblangtag-0.5.1-redefinition-of-typedef.patch \
+ external/liblangtag/liblangtag-0.5.1-undefined-have-sys-param-h.patch \
+ external/liblangtag/liblangtag-0.5.1-windows-do-not-prepend-dir-separator.patch \
+ external/liblangtag/liblangtag-0.5.1-unistd.patch \
+))
+
+ifeq ($(OS),WNT)
+ifeq ($(COM),GCC)
+$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
+ external/liblangtag/liblangtag-0.5.1-mingw.patch \
+))
+endif
+endif
+# vim: set noet sw=4 ts=4: