annotate src/libiconv.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 13be64f9f16d
children 63a9f37abcbc
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: 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 :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
6 $(PKG)_VERSION := 1.14
1944
955f7bfeb3fc update packages: imagemagick libiconv libvpx ogg pango x264
Mark Brand <mabrand@mabrand.nl>
parents: 759
diff changeset
7 $(PKG)_CHECKSUM := be7d67e50d72ff067b2c0291311bc283add36965
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
eac52a8a7822 Disable more doc files
John D
parents: 3480
diff changeset
29 $(MAKE) -C '$(1)' -j '$(JOBS)'
eac52a8a7822 Disable more doc files
John D
parents: 3480
diff changeset
30 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
eac52a8a7822 Disable more doc files
John D
parents: 3480
diff changeset
31 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
eac52a8a7822 Disable more doc files
John D
parents: 3480
diff changeset
32 rm -rf '$(3)$(HOST_PREFIX)/share'; \
eac52a8a7822 Disable more doc files
John D
parents: 3480
diff changeset
33 fi
132
44c3bd0085e8 translated package: libiconv
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 endef