Mercurial > mxe-octave
annotate src/libidn.mk @ 749:6264fc8f7f5f
ignore the alpha version 0.17 of package libidn
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Tue, 16 Feb 2010 01:13:08 +0100 |
parents | 29f1ba4559ae |
children | a2c0f2177243 |
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 |
749
6264fc8f7f5f
ignore the alpha version 0.17 of package libidn
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
6 $(PKG)_IGNORE := 1.17 |
652
bd95dda38b31
update version of package libidn
Volker Grabsch <vog@notjusthosting.com>
parents:
645
diff
changeset
|
7 $(PKG)_VERSION := 1.16 |
bd95dda38b31
update version of package libidn
Volker Grabsch <vog@notjusthosting.com>
parents:
645
diff
changeset
|
8 $(PKG)_CHECKSUM := 33ff88e7111f07f3bb8aa888fdc7848bb319d4ce |
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"' | \ |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) -n 's,.*<a[^>]*>\([0-9][^>]*\)<.*,\1,p' | \ |
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 |
f8290b0be803
new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' |
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 |