Mercurial > mxe-octave
annotate src/libidn.mk @ 3673:972f2d9c76ca
tar-dist: update dist rules for native-mingw tar-dist to work (Bug #42874)
* binary-dist-rules.mk: only include windows dist deps of native-*, npp and msys-base if not native mingw build. change copy-windows-dist-files for same.
author | John Donoghue |
---|---|
date | Thu, 31 Jul 2014 11:23:18 -0400 |
parents | 13be64f9f16d |
children | f849f1ddfa40 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2206
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:
377
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
4 PKG := libidn |
750
a2c0f2177243
update version of package libidn
Volker Grabsch <vog@notjusthosting.com>
parents:
749
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.28 |
3266 | 7 $(PKG)_CHECKSUM := 725587211b229c156e29fa2ad116b0ef71a7ca17 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
8 $(PKG)_SUBDIR := libidn-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
9 $(PKG)_FILE := libidn-$($(PKG)_VERSION).tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/libidn/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := gettext libiconv |
230
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
f8290b0be803
new package: libidn (by Martin Lambers)
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://git.savannah.gnu.org/gitweb/?p=libidn.git;a=tags' | \ |
230
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 grep '<a class="list subject"' | \ |
840
77ecd36317c2
corrected version recognition regexes of many packages
Volker Grabsch <vog@notjusthosting.com>
parents:
759
diff
changeset
|
16 $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \ |
230
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 head -1 |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 cd '$(1)' && ./configure \ |
2997 | 22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
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) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2545
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
645
513a09e1715d
ensure that libidn.dll won't be built for package libidn
Mark Brand <mabrand@mabrand.nl>
parents:
641
diff
changeset
|
25 --disable-csharp \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' \ |
3082
fae995570da2
[MSVC] enable libidn compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
27 --with-libiconv-prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3266
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= DESTDIR='$(3)' |
230
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 endef |