Mercurial > mxe-octave
annotate src/libgpg_error.mk @ 3083:1f1e0dc9a135
[MSVC] enable libgpg_error compilation and update to 1.11
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sun, 23 Jun 2013 23:33:41 -0400 |
parents | 5ef49fb3299d |
children | 11f8ec654cd4 |
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 := |
3083
1f1e0dc9a135
[MSVC] enable libgpg_error compilation and update to 1.11
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
6 $(PKG)_CHECKSUM := be209b013652add5c7e2c473ea114f58203cc6cd |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
7 $(PKG)_SUBDIR := libgpg-error-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_FILE := libgpg-error-$($(PKG)_VERSION).tar.bz2 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(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
|
10 $(PKG)_DEPS := |
138
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(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
|
14 $(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
|
15 tail -1 |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 endef |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 cd '$(1)' && ./configure \ |
2997 | 20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2997 | 22 $(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
|
23 --prefix='$(HOST_PREFIX)' \ |
1153
286c23180408
bugfix for package libgpg_error
Tony Theodore <tonyt@logyst.com>
parents:
1146
diff
changeset
|
24 --disable-nls \ |
3083
1f1e0dc9a135
[MSVC] enable libgpg_error compilation and update to 1.11
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
25 --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
|
26 $(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
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 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
28 $(LN_SF) '$(HOST_BINDIR)/gpg-error-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)gpg-error-config' |
138
78553e232e35
translated package: libgpg_error
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 endef |