Mercurial > mxe-octave
annotate src/libidn.mk @ 1004:4aa88ca6d470
upgrade package libidn
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Mon, 24 May 2010 10:29:14 +0200 |
parents | 77ecd36317c2 |
children | 2fac12e1abc5 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
652
diff
changeset
|
2 # See doc/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 |
234
9e41163473c5
corrected project URL of package libidn
Volker Grabsch <vog@notjusthosting.com>
parents:
230
diff
changeset
|
4 # Libidn |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
5 PKG := libidn |
750
a2c0f2177243
update version of package libidn
Volker Grabsch <vog@notjusthosting.com>
parents:
749
diff
changeset
|
6 $(PKG)_IGNORE := |
1004 | 7 $(PKG)_VERSION := 1.19 |
8 $(PKG)_CHECKSUM := 2b6dcb500e8135a9444a250d7df76f545915f25f | |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
9 $(PKG)_SUBDIR := libidn-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
10 $(PKG)_FILE := libidn-$($(PKG)_VERSION).tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
11 $(PKG)_WEBSITE := http://www.gnu.org/software/libidn/ |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
12 $(PKG)_URL := ftp://ftp.gnu.org/gnu/libidn/$($(PKG)_FILE) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
303
diff
changeset
|
13 $(PKG)_DEPS := gcc libiconv |
230
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=libidn.git;a=tags' | \ |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 grep '<a class="list subject"' | \ |
840
77ecd36317c2
corrected version recognition regexes of many packages
Volker Grabsch <vog@notjusthosting.com>
parents:
759
diff
changeset
|
18 $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \ |
230
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 head -1 |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 # wine confuses the cross-compiling detection, so set it explicitly |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
750
diff
changeset
|
24 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' |
230
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 cd '$(1)' && ./configure \ |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --host='$(TARGET)' \ |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --disable-shared \ |
645
513a09e1715d
ensure that libidn.dll won't be built for package libidn
Mark Brand <mabrand@mabrand.nl>
parents:
641
diff
changeset
|
28 --disable-csharp \ |
230
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --prefix='$(PREFIX)/$(TARGET)' \ |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --with-libiconv-prefix='$(PREFIX)/$(TARGET)' |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 endef |