annotate src/libssh2.mk @ 6161:8fcac4d6d983 release

of-queueing: Fix syntax error with Octave 7 (bug #62314). * src/of-queueing-1-octave7.patch: Add new file. * dist-files.mk: Include new patch.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 14 Apr 2022 19:27:13 +0200
parents aae6570bf085
children fc1703210f8c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2232
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
2021
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
3
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
4 PKG := libssh2
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
5 $(PKG)_IGNORE :=
5908
aae6570bf085 * src/libssh2.mk: update to v1.10.0
John Donoghue <john.donoghue@ieee.org>
parents: 5110
diff changeset
6 $(PKG)_VERSION := 1.10.0
aae6570bf085 * src/libssh2.mk: update to v1.10.0
John Donoghue <john.donoghue@ieee.org>
parents: 5110
diff changeset
7 $(PKG)_CHECKSUM := 2ebb3bc5c944090ade840f3a0ada9874eced979b
2021
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
8 $(PKG)_SUBDIR := libssh2-$($(PKG)_VERSION)
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
9 $(PKG)_FILE := libssh2-$($(PKG)_VERSION).tar.gz
5908
aae6570bf085 * src/libssh2.mk: update to v1.10.0
John Donoghue <john.donoghue@ieee.org>
parents: 5110
diff changeset
10 $(PKG)_URL := https://www.libssh2.org/download/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := libgcrypt zlib
2021
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
12
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
13 define $(PKG)_UPDATE
5908
aae6570bf085 * src/libssh2.mk: update to v1.10.0
John Donoghue <john.donoghue@ieee.org>
parents: 5110
diff changeset
14 $(WGET) -q -O- 'https://www.libssh2.org/download/?C=M;O=D' | \
2021
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
15 grep 'libssh2-' | \
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
16 $(SED) -n 's,.*libssh2-\([0-9][^>]*\)\.tar.*,\1,p' | \
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
17 head -1
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
18 endef
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
19
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
20 define $(PKG)_BUILD
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
21 cd '$(1)' && ./configure \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2907
diff changeset
22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2907
69cc6151a9e0 fix shared lib build for libssh2
John W. Eaton <jwe@octave.org>
parents: 2880
diff changeset
24 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
25 --prefix='$(HOST_PREFIX)' \
3846
02c08b655d54 libssh2: update v1.5.0 from mxe (devel)
John Donoghue
parents: 3680
diff changeset
26 --disable-examples-build \
2046
45dbac6fcb14 package libssh2: use libgcrypt instead of openssl
Tony Theodore <tonyt@logyst.com>
parents: 2022
diff changeset
27 --without-openssl \
45dbac6fcb14 package libssh2: use libgcrypt instead of openssl
Tony Theodore <tonyt@logyst.com>
parents: 2022
diff changeset
28 --with-libgcrypt \
3085
c81056b5528e [MSVC] enable libssh2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
29 PKG_CONFIG='$(MXE_PKG_CONFIG)' && $(CONFIGURE_POST_HOOK)
4308
411ddca4207f More dont install dependancy docs
John D
parents: 4269
diff changeset
30 $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)'
2021
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
31
1467d5e5fd6d package libssh2: add missing dependencies and test program
Tony Theodore <tonyt@logyst.com>
parents: 2020
diff changeset
32 endef