Mercurial > mxe-octave
annotate src/libtool.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | c2d59e7a4ad3 |
children | 6b02060ae71c |
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 | 3 |
4 PKG := libtool | |
5 $(PKG)_IGNORE := | |
4555 | 6 $(PKG)_VERSION := 2.4.6 |
7 $(PKG)_CHECKSUM := 25b6931265230a06f0fc2146df64c04e5ae6ec33 | |
841 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
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 | 12 |
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 | 16 head -1 |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
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 | 24 --enable-ltdl-install |
25 $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)' | |
26 $(MAKE) -C '$(1)/libltdl' -j 1 install | |
27 endef |