annotate src/libffi.mk @ 4303:eac52a8a7822

Disable more doc files * Makefile.in: add pkghtml_DATA to MXE_DISABLE_DOCS * src/lame.mk: add MXE_DISABLE_DOCS to install * src/libidn.mk: add MXE_DISABLE_DOCS to install * src/libffi.mk: remove man, info files from install * src/libiconv.mk: remove man, info files from install * src/librsb.mk: html doc files from install
author John D
date Fri, 30 Dec 2016 22:26:22 -0500
parents c85991d2fed4
children 979f5b397e51
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: 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
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := libffi
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4290
c85991d2fed4 * src/libffi.mk: update to 3.2.1
John D
parents: 3708
diff changeset
6 $(PKG)_VERSION := 3.2.1
c85991d2fed4 * src/libffi.mk: update to 3.2.1
John D
parents: 3708
diff changeset
7 $(PKG)_CHECKSUM := 280c265b789e041c02e5c97815793dfc283fb1e6
869
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
b96e4593c968 new package: libffi
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: 2441
diff changeset
14 $(WGET) -q -O- 'https://github.com/atgreen/libffi/tags' | \
3708
d95b8b84cea7 enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents: 3639
diff changeset
15 grep '<a href="/atgreen/libffi/archive/' | \
d95b8b84cea7 enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents: 3639
diff changeset
16 $(SED) -n 's,.*href="/atgreen/libffi/archive/v\([0-9][^"]*\)\.tar.*,\1,p' | \
869
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
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) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
23 --prefix='$(HOST_PREFIX)' \
4290
c85991d2fed4 * src/libffi.mk: update to 3.2.1
John D
parents: 3708
diff changeset
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3131
1a25ea16434b [MSVC] enable libffi compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
25 $(ENABLE_SHARED_OR_STATIC) \
1a25ea16434b [MSVC] enable libffi compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
26 && $(CONFIGURE_POST_HOOK)
1991
5d0f5094fb66 package libffi: bugfix for build directory and add test program
Tony Theodore <tonyt@logyst.com>
parents: 1971
diff changeset
27 $(MAKE) -C '$(1)/$(TARGET)' -j '$(JOBS)'
4303
eac52a8a7822 Disable more doc files
John D
parents: 4290
diff changeset
28 $(MAKE) -C '$(1)/$(TARGET)' -j 1 install DESTDIR='$(3)'
eac52a8a7822 Disable more doc files
John D
parents: 4290
diff changeset
29
eac52a8a7822 Disable more doc files
John D
parents: 4290
diff changeset
30 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
eac52a8a7822 Disable more doc files
John D
parents: 4290
diff changeset
31 rm -rf "$(3)$(HOST_PREFIX)/share"; \
eac52a8a7822 Disable more doc files
John D
parents: 4290
diff changeset
32 fi
1991
5d0f5094fb66 package libffi: bugfix for build directory and add test program
Tony Theodore <tonyt@logyst.com>
parents: 1971
diff changeset
33
869
b96e4593c968 new package: libffi
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 endef