Mercurial > mxe-octave
annotate src/libffi.mk @ 4733:1ecb1e67eaa1
* src/src-msys-dos2unix.mk: update checksum
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 09 Jun 2018 10:13:46 -0400 |
parents | 979f5b397e51 |
children | 2f6b9fc8a271 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2318
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. |
869 | 3 |
4 PKG := libffi | |
5 $(PKG)_IGNORE := | |
4290 | 6 $(PKG)_VERSION := 3.2.1 |
7 $(PKG)_CHECKSUM := 280c265b789e041c02e5c97815793dfc283fb1e6 | |
869 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := ftp://sourceware.org/pub/$(PKG)/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := |
869 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2441
diff
changeset
|
14 $(WGET) -q -O- 'https://github.com/atgreen/libffi/tags' | \ |
4538 | 15 $(SED) -n 's,.*releases/tag/v\([0-9][^"]*\).*,\1,p' | \ |
869 | 16 head -1 |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
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) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
4290 | 23 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3131
1a25ea16434b
[MSVC] enable libffi compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
1a25ea16434b
[MSVC] enable libffi compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
25 && $(CONFIGURE_POST_HOOK) |
1991
5d0f5094fb66
package libffi: bugfix for build directory and add test program
Tony Theodore <tonyt@logyst.com>
parents:
1971
diff
changeset
|
26 $(MAKE) -C '$(1)/$(TARGET)' -j '$(JOBS)' |
4303 | 27 $(MAKE) -C '$(1)/$(TARGET)' -j 1 install DESTDIR='$(3)' |
28 | |
29 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ | |
30 rm -rf "$(3)$(HOST_PREFIX)/share"; \ | |
31 fi | |
1991
5d0f5094fb66
package libffi: bugfix for build directory and add test program
Tony Theodore <tonyt@logyst.com>
parents:
1971
diff
changeset
|
32 |
869 | 33 endef |