annotate src/libidn.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
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: 2206
diff changeset
1 # This file is part of MXE.
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 :=
2206
1286c378d068 update package libidn
Mark Brand <mabrand@mabrand.nl>
parents: 2153
diff changeset
7 $(PKG)_CHECKSUM := 4251c108966375ede4df15d76a1bd9a4440f44ee
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)
2132
256356401953 package libidn: fix libintl (gettext) dependency
Mark Brand <mabrand@mabrand.nl>
parents: 2130
diff changeset
11 $(PKG)_DEPS := gcc 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
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 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
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 \
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --host='$(TARGET)' \
2153
e4c83fa61a5b replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents: 2148
diff changeset
23 --build="`config.guess`" \
230
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
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 \
230
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --with-libiconv-prefix='$(PREFIX)/$(TARGET)'
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
1791
aa9281d9ff51 package libidn: add "-liconv" to libidn.pc
Martin Lambers <marlam@marlam.de>
parents: 1786
diff changeset
29
aa9281d9ff51 package libidn: add "-liconv" to libidn.pc
Martin Lambers <marlam@marlam.de>
parents: 1786
diff changeset
30 '$(TARGET)-gcc' \
aa9281d9ff51 package libidn: add "-liconv" to libidn.pc
Martin Lambers <marlam@marlam.de>
parents: 1786
diff changeset
31 -W -Wall -Werror -ansi -pedantic \
aa9281d9ff51 package libidn: add "-liconv" to libidn.pc
Martin Lambers <marlam@marlam.de>
parents: 1786
diff changeset
32 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libidn.exe' \
aa9281d9ff51 package libidn: add "-liconv" to libidn.pc
Martin Lambers <marlam@marlam.de>
parents: 1786
diff changeset
33 `'$(TARGET)-pkg-config' libidn --cflags --libs`
230
f8290b0be803 new package: libidn (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 endef