Mercurial > mxe-octave
annotate src/libgpg_error.mk @ 6234:97c5f8da5036 release
* src/librsb.mk: update to 1.2.0.11
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 27 May 2022 12:24:32 +0200 |
parents | ca7bc7c7c141 |
children | 1e1f0d624fbb |
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 := |
5963
ca7bc7c7c141
* src/libgpg_error.mk: update to v1.43
John Donoghue <john.donoghue@ieee.org>
parents:
5708
diff
changeset
|
6 $(PKG)_VERSION := 1.43 |
ca7bc7c7c141
* src/libgpg_error.mk: update to v1.43
John Donoghue <john.donoghue@ieee.org>
parents:
5708
diff
changeset
|
7 $(PKG)_CHECKSUM := e71b77e8e32023dfd9cb06504942aa8e028c8795 |
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) |
4607 | 11 $(PKG)_DEPS := gettext libiconv |
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 |
4607 | 20 cd '$(1)/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.static.h |
21 cd '$(1)/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.shared.h | |
138
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
2997 | 23 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2997 | 25 $(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
|
26 --prefix='$(HOST_PREFIX)' \ |
1153
286c23180408
bugfix for package libgpg_error
Tony Theodore <tonyt@logyst.com>
parents:
1146
diff
changeset
|
27 --disable-nls \ |
3083
1f1e0dc9a135
[MSVC] enable libgpg_error compilation and update to 1.11
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
28 --disable-languages && $(CONFIGURE_POST_HOOK) |
4607 | 29 if [ $(MXE_WINDOWS_BUILD) = yes ]; then \ |
30 $(SED) -i 's/-lgpg-error/-lgpg-error -lintl -liconv/;' '$(1)/src/gpg-error-config'; \ | |
31 $(SED) -i 's/host_os = mingw32.*/host_os = mingw32/' '$(1)/src/Makefile'; \ | |
32 fi | |
1503
0fc1e472efd1
package libgpg_error: only build and install in src directory
Tony Theodore <tonyt@logyst.com>
parents:
1502
diff
changeset
|
33 $(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
|
34 $(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
|
35 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
|
36 $(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
|
37 $(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
|
38 fi |
138
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
39 endef |