annotate src/libgpg_error.mk @ 4313:3d768e8ec06a

gnupg: update packages * src/libgcrypt.mk: update version, checksum 1.7.5 * src/libgpg_error.mk: update version, checksum 1.26 * src/mingw-libgcrypt-1-fixes.patch: update patch from mxe.cc
author John D
date Wed, 04 Jan 2017 08:32:17 -0500
parents ee802fc5dd9b
children e5efd844c4c8
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: 2153
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: 306
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
4 PKG := libgpg_error
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
5 $(PKG)_IGNORE :=
4313
3d768e8ec06a gnupg: update packages
John D
parents: 3926
diff changeset
6 $(PKG)_VERSION := 1.26
3d768e8ec06a gnupg: update packages
John D
parents: 3926
diff changeset
7 $(PKG)_CHECKSUM := 9a926e7ee6309e539313443555535d49a2a5c9f1
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_SUBDIR := libgpg-error-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_FILE := libgpg-error-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS :=
138
78553e232e35 translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
78553e232e35 translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/' | \
1495
2cc9a6209a69 upgrade package libgpg_error
Mark Brand <mabrand@mabrand.nl>
parents: 1458
diff changeset
15 $(SED) -n 's,.*libgpg-error-\([1-9]\.[1-9][0-9][^>]*\)\.tar.*,\1,p' | \
138
78553e232e35 translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 tail -1
78553e232e35 translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
78553e232e35 translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
78553e232e35 translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
78553e232e35 translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2878
diff changeset
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2878
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 3006
diff changeset
24 --prefix='$(HOST_PREFIX)' \
1153
286c23180408 bugfix for package libgpg_error
Tony Theodore <tonyt@logyst.com>
parents: 1146
diff changeset
25 --disable-nls \
3083
1f1e0dc9a135 [MSVC] enable libgpg_error compilation and update to 1.11
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
26 --disable-languages && $(CONFIGURE_POST_HOOK)
1503
0fc1e472efd1 package libgpg_error: only build and install in src directory
Tony Theodore <tonyt@logyst.com>
parents: 1502
diff changeset
27 $(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3216
diff changeset
28 $(MAKE) -C '$(1)/src' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= DESTDIR='$(3)'
3216
11f8ec654cd4 Avoid copying or linking files that are the same when doing native build
John W. Eaton <jwe@octave.org>
parents: 3083
diff changeset
29 if [ $(MXE_NATIVE_BUILD) = no ]; then \
3306
2b4e9822f50b Undo changeset 2ccb71581ee9, 70873001835f, 724c7c2201aa and create BUILD_TOOLS_PREFIX/bin
John Donoghue <john.donoghue@ieee.org>
parents: 3303
diff changeset
30 $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \
2b4e9822f50b Undo changeset 2ccb71581ee9, 70873001835f, 724c7c2201aa and create BUILD_TOOLS_PREFIX/bin
John Donoghue <john.donoghue@ieee.org>
parents: 3303
diff changeset
31 $(INSTALL) -m755 '$(3)$(HOST_BINDIR)/gpg-error-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)gpg-error-config'; \
3216
11f8ec654cd4 Avoid copying or linking files that are the same when doing native build
John W. Eaton <jwe@octave.org>
parents: 3083
diff changeset
32 fi
138
78553e232e35 translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 endef