Mercurial > mxe-octave
annotate src/gnutls.mk @ 5499:be0a7ce498e6
Update mesa to version 20.0.8 (bug #58689).
* src/mesa.mk: Update version and checksum. Add build-meson to dependecies.
Update build rule to use meson and ninja as the build tools.
* src/mesa-1-meson.patch: Add new patch.
* src/mesa-1-fixes.patch: Remove old patch for the scons rule that is no longer
needed.
* dist-files.mk: Update file list.
* src/build-mako.mk: Depend on and use python3.
* src/build-markupsafe.mk: Depend on and use python3.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 05 Jul 2020 20:58:57 +0200 |
parents | 8bede4ae3bc6 |
children | f55351ed06fe |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2285
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. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
393
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
277
diff
changeset
|
4 PKG := gnutls |
5450
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
5 $(PKG)_VERSION := 3.6.14 |
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
6 $(PKG)_CHECKSUM := bea1b5abcb691acf014e592f41d0a9580a41216a |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
277
diff
changeset
|
7 $(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION) |
2057 | 8 $(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.xz |
4989
0cf6aa8f90de
update libidn2 to v2.1.1a, gnutls to v3.6.6, nettle v3.4.1
John Donoghue
parents:
4384
diff
changeset
|
9 $(PKG)_URL := ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/$($(PKG)_FILE) |
5360
aeda3ca4f416
* src/gnutls.mk: require vista+ for windows build
John Donoghue <john.donoghue@ieee.org>
parents:
5356
diff
changeset
|
10 $(PKG)_URL_2 := https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnutls/v3.6/$($(PKG)_FILE) |
5450
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
11 $(PKG)_DEPS := gettext gmp libidn2 libtasn1 libunistring nettle zlib |
140
cc9bce2a4451
translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
cc9bce2a4451
translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
4989
0cf6aa8f90de
update libidn2 to v2.1.1a, gnutls to v3.6.6, nettle v3.4.1
John Donoghue
parents:
4384
diff
changeset
|
14 $(WGET) -q -O- https://gnupg.org/ftp/gcrypt/gnutls/v3.6/ | \ |
4384 | 15 $(SED) -n 's,.*gnutls-\([1-9]\+\.[0-9]\+.[0-9]\+\)\..*,\1,p' | \ |
16 $(SORT) -V | \ | |
17 tail -1 | |
140
cc9bce2a4451
translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
cc9bce2a4451
translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
3415
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
20 $(PKG)_WINDOWS_CONFIGURE_OPTIONS := \ |
5450
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
21 CPPFLAGS='-D_WIN32_WINNT=0x0600' --disable-rpath |
3415
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
22 |
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
23 ifeq ($(MXE_SYSTEM),mingw) |
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
24 $(PKG)_CONFIGURE_OPTIONS := $($(PKG)_WINDOWS_CONFIGURE_OPTIONS) |
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
25 endif |
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
26 ifeq ($(MXE_SYSTEM),msvc) |
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
27 $(PKG)_CONFIGURE_OPTIONS := $($(PKG)_WINDOWS_CONFIGURE_OPTIONS) |
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
28 endif |
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
29 |
140
cc9bce2a4451
translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 define $(PKG)_BUILD |
5450
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
31 mkdir '$(1)/.build' |
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
32 cd '$(1)' && autoreconf -fi |
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
33 cd '$(1)/.build' && ../configure \ |
2997 | 34 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
35 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2906
0dd648719028
fix shared lib build for gnutls
John W. Eaton <jwe@octave.org>
parents:
2877
diff
changeset
|
36 $(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
|
37 --prefix='$(HOST_PREFIX)' \ |
140
cc9bce2a4451
translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 --disable-nls \ |
1768
d3d08843c62b
improved ./configure arguments for package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
1743
diff
changeset
|
39 --disable-guile \ |
3267 | 40 --disable-doc \ |
4989
0cf6aa8f90de
update libidn2 to v2.1.1a, gnutls to v3.6.6, nettle v3.4.1
John Donoghue
parents:
4384
diff
changeset
|
41 --disable-tests \ |
3602 | 42 --enable-local-libopts \ |
1957
56a51a5b74fd
fixed a small typo introduced by changeset e5969b622179
Volker Grabsch <vog@notjusthosting.com>
parents:
1956
diff
changeset
|
43 --without-p11-kit \ |
3267 | 44 --disable-silent-rules \ |
3415
a70e260220fc
gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
45 $($(PKG)_CONFIGURE_OPTIONS) \ |
5450
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
46 && $(CONFIGURE_POST_HOOK) |
1977
3a54f0ccdd00
package gnutls: add test program
Tony Theodore <tonyt@logyst.com>
parents:
1975
diff
changeset
|
47 |
5450
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
48 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' |
8bede4ae3bc6
Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents:
5360
diff
changeset
|
49 $(MAKE) -C '$(1)/.build' -j 1 install DESTDIR='$(3)' |
140
cc9bce2a4451
translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
50 endef |