summaryrefslogtreecommitdiff
path: root/external/curl/UnpackedTarball_curl.mk
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-10-17 19:28:04 +0200
committerDavid Tardon <dtardon@redhat.com>2013-10-18 06:50:42 +0000
commita777285f9b8efc4e00183a25d39913f78eddc0ad (patch)
treed27b5a2462fde325792008715e2e94788da05bde /external/curl/UnpackedTarball_curl.mk
parent39f73d93874114e2bacfd73da137180aad95a3f6 (diff)
fdo#70393: move curl to a subdir of external
Change-Id: I76401636aab7d4de198912b154d6ec3da35a711d Reviewed-on: https://gerrit.libreoffice.org/6298 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/curl/UnpackedTarball_curl.mk')
-rw-r--r--external/curl/UnpackedTarball_curl.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/external/curl/UnpackedTarball_curl.mk b/external/curl/UnpackedTarball_curl.mk
new file mode 100644
index 000000000000..aa3e41302f88
--- /dev/null
+++ b/external/curl/UnpackedTarball_curl.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,curl))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,curl,$(CURL_TARBALL),,curl))
+
+$(eval $(call gb_UnpackedTarball_set_patchlevel,curl,1))
+
+$(eval $(call gb_UnpackedTarball_fix_end_of_line,curl,\
+ Makefile.msvc.names \
+ lib/Makefile.vc9 \
+))
+$(eval $(call gb_UnpackedTarball_add_patches,curl,\
+ external/curl/curl-7.26.0.patch \
+ external/curl/curl-7.26.0_nspr.patch \
+ external/curl/curl-aix.patch \
+ external/curl/curl-7.26.0_win.patch \
+ external/curl/curl-7.26.0_mingw.patch \
+ external/curl/curl-7.26.0_win-proxy.patch \
+ external/curl/curl-7.26.0_strlcat.patch \
+))
+ifeq ($(OS),ANDROID)
+$(eval $(call gb_UnpackedTarball_add_patches,curl,\
+ external/curl/curl-android.patch \
+))
+endif
+# vim: set noet sw=4 ts=4: