annotate src/libtool.mk @ 4037:85abb6c3ec8b

of-netcdf: patch for --enable-64 (Bug #46060) * src/of-netcdf-1-fixes.patch: new file * dist-files.mk: add of-netcdf-1-fixes.patch
author John Donoghue <john.donoghue@ieee.org>
date Tue, 29 Sep 2015 19:43:19 -0400
parents 13be64f9f16d
children c2d59e7a4ad3
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: 2014
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.
841
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := libtool
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 2.4.2
2014
1093671745df update packages freetype lame libtool x264
Mark Brand <mabrand@mabrand.nl>
parents: 1185
diff changeset
7 $(PKG)_CHECKSUM := 22b71a8b5ce3ad86e1094e7285981cae10e6ff88
841
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS :=
841
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
ac7b800362f9 new package: libtool
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- 'http://ftp.gnu.org/gnu/libtool/?C=M;O=D' | \
1020
38bd5aef58a0 avoid alpha releases of package libtool
Volker Grabsch <vog@notjusthosting.com>
parents: 841
diff changeset
15 $(SED) -n 's,.*<a href="libtool-\([0-9][^"]*\)\.tar.*,\1,p' | \
841
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)/libltdl' && ./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)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
841
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --enable-ltdl-install
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)'
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)/libltdl' -j 1 install
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef