Mercurial > mxe-octave
annotate src/libiconv.mk @ 6001:88762923aa9a release
octave-launch: Attach to console of parent process if applicable.
* installer-files/octave-launch.c: If parent process has a console, attach to
it.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 05 Dec 2021 18:26:51 +0100 |
parents | 71bc1f766e03 |
children | 35739e4a36c2 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1944
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:
409
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := libiconv |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
424
diff
changeset
|
5 $(PKG)_IGNORE := |
5065 | 6 $(PKG)_VERSION := 1.16 |
7 $(PKG)_CHECKSUM := 2d9d1d8fa9f7859b181de984d60eacd2499a5701 | |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_SUBDIR := libiconv-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(PKG)_FILE := libiconv-$($(PKG)_VERSION).tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnu.org/pub/gnu/libiconv/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
11 $(PKG)_DEPS := |
132
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
44c3bd0085e8
translated package: libiconv
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://www.gnu.org/software/libiconv/' | \ |
175
bd03fe11ee3d
bugfix: fixed version recognition of package 'libiconv'
Volker Grabsch <vog@notjusthosting.com>
parents:
132
diff
changeset
|
15 grep 'libiconv-' | \ |
bd03fe11ee3d
bugfix: fixed version recognition of package 'libiconv'
Volker Grabsch <vog@notjusthosting.com>
parents:
132
diff
changeset
|
16 $(SED) -n 's,.*libiconv-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
bd03fe11ee3d
bugfix: fixed version recognition of package 'libiconv'
Volker Grabsch <vog@notjusthosting.com>
parents:
132
diff
changeset
|
17 head -1 |
132
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
21 $(SED) -i 's, sed , $(SED) ,g' '$(1)/windows/windres-options' |
132
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
24 --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
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
3061
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
26 CC='$(MXE_CC)' \ |
3225
7e6673cf2255
libiconv.mk: use CONFIGURE_CPPFLAGS and CONFIGURE_LDFLAGS instead of CPPFLAGS=...
John W. Eaton <jwe@octave.org>
parents:
3061
diff
changeset
|
27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3061
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
28 --disable-nls && $(CONFIGURE_POST_HOOK) |
4303 | 29 $(MAKE) -C '$(1)' -j '$(JOBS)' |
30 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' | |
31 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ | |
32 rm -rf '$(3)$(HOST_PREFIX)/share'; \ | |
33 fi | |
132
44c3bd0085e8
translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 endef |