annotate src/libidn.mk @ 641:dab071eac9c0

simplified file markers
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 16 Jan 2010 23:02:02 +0100
parents e9afec55fd6b
children 513a09e1715d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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.
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
2 # See doc/index.html or doc/README 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
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
6 $(PKG)_IGNORE :=
377
61e5dba7175b update version of packages atk, curl, gcc, gdal, glib, gnutls, gtk, libevent, libidn, libntlm, libpng, nsis, pango, pdflib_lite, pixman, sqlite, tre and xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
7 $(PKG)_VERSION := 1.15
61e5dba7175b update version of packages atk, curl, gcc, gdal, glib, gnutls, gtk, libevent, libidn, libntlm, libpng, nsis, pango, pdflib_lite, pixman, sqlite, tre and xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
8 $(PKG)_CHECKSUM := 6321660c7072737110b790044cbf8653a95ea175
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 \
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --prefix='$(PREFIX)/$(TARGET)' \
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --with-libiconv-prefix='$(PREFIX)/$(TARGET)'
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 $(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
31 endef