vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Fri Jan 24 18:44:56 2014 +0100| [4049e2334dd6213363c154be9d0aab1d1a8a1e3b] | committer: Jean-Baptiste Kempf
Contribs: add libssh2 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4049e2334dd6213363c154be9d0aab1d1a8a1e3b --- contrib/src/ssh2/SHA512SUMS | 1 + contrib/src/ssh2/no-tests.patch | 10 ++++++++++ contrib/src/ssh2/rules.mak | 29 +++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/contrib/src/ssh2/SHA512SUMS b/contrib/src/ssh2/SHA512SUMS new file mode 100644 index 0000000..15a23ba --- /dev/null +++ b/contrib/src/ssh2/SHA512SUMS @@ -0,0 +1 @@ +707e0634b74fcf0f5ae4e46d9807907db7cd09328d553a67c49e9e11d852ae85843a7dcbe3f002e639eb2704e53e865c640c8fe85dcada330d0160708e8b5177 libssh2-1.4.3.tar.gz diff --git a/contrib/src/ssh2/no-tests.patch b/contrib/src/ssh2/no-tests.patch new file mode 100644 index 0000000..3e4b396 --- /dev/null +++ b/contrib/src/ssh2/no-tests.patch @@ -0,0 +1,10 @@ +--- libssh2-1.4.3/Makefile.am.orig 2014-01-24 18:42:51.602763926 +0100 ++++ libssh2-1.4.3/Makefile.am 2014-01-24 18:42:58.522873002 +0100 +@@ -1,6 +1,6 @@ + AUTOMAKE_OPTIONS = foreign nostdinc + +-SUBDIRS = src tests docs ++SUBDIRS = src docs + if BUILD_EXAMPLES + SUBDIRS += example + endif diff --git a/contrib/src/ssh2/rules.mak b/contrib/src/ssh2/rules.mak new file mode 100644 index 0000000..323b465 --- /dev/null +++ b/contrib/src/ssh2/rules.mak @@ -0,0 +1,29 @@ +# ssh2 + +LIBSSH2_VERSION := 1.4.3 +LIBSSH2_URL := http://www.libssh2.org/download/libssh2-$(LIBSSH2_VERSION).tar.gz + +ifdef BUILD_NETWORK +PKGS += ssh2 +endif +ifeq ($(call need_pkg,"libssh2"),) +PKGS_FOUND += ssh2 +endif + +$(TARBALLS)/libssh2-$(LIBSSH2_VERSION).tar.gz: + $(call download,$(LIBSSH2_URL)) + +.sum-ssh2: libssh2-$(LIBSSH2_VERSION).tar.gz + +ssh2: libssh2-$(LIBSSH2_VERSION).tar.gz .sum-ssh2 + $(UNPACK) + $(APPLY) $(SRC)/ssh2/no-tests.patch + $(MOVE) + +DEPS_ssh2 = gcrypt $(DEPS_gcrypt) + +.ssh2: ssh2 + $(RECONF) + cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-examples-build + cd $< && $(MAKE) install + touch $@ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
