annotate src/gnutls.mk @ 1231:13b7f90158e7

upgrade packages gnutls imagemagick
author Mark Brand <mabrand@mabrand.nl>
date Thu, 30 Sep 2010 12:07:55 +0200
parents e878941387e3
children 3f79849d1f32
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 535
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: 641
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: 393
diff changeset
3
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # GnuTLS
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
5 PKG := gnutls
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 432
diff changeset
6 $(PKG)_IGNORE :=
1231
13b7f90158e7 upgrade packages gnutls imagemagick
Mark Brand <mabrand@mabrand.nl>
parents: 1095
diff changeset
7 $(PKG)_VERSION := 2.10.2
13b7f90158e7 upgrade packages gnutls imagemagick
Mark Brand <mabrand@mabrand.nl>
parents: 1095
diff changeset
8 $(PKG)_CHECKSUM := 2704b7b86fc5e3444afcf20feb7bc9ff117d4816
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
9 $(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
10 $(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
11 $(PKG)_WEBSITE := http://www.gnu.org/software/gnutls/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
12 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gnutls/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
13 $(PKG)_URL_2 := ftp://ftp.gnupg.org/gcrypt/gnutls/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
14 $(PKG)_DEPS := gcc libgcrypt
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 define $(PKG)_UPDATE
273
8e1fd93483b2 improved version update mechanism (make update) of package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
17 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tags' | \
8e1fd93483b2 improved version update mechanism (make update) of package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
18 grep '<a class="list subject"' | \
840
77ecd36317c2 corrected version recognition regexes of many packages
Volker Grabsch <vog@notjusthosting.com>
parents: 759
diff changeset
19 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 head -1
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 endef
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 define $(PKG)_BUILD
203
5e5c9f9cabcb improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents: 154
diff changeset
24 echo '/* DEACTIVATED */' > '$(1)/gl/gai_strerror.c'
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
25 $(SED) -i 's, sed , $(SED) ,g' '$(1)/gl/tests/Makefile.in'
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 cd '$(1)' && ./configure \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --host='$(TARGET)' \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-shared \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --prefix='$(PREFIX)/$(TARGET)' \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --with-libgcrypt-prefix='$(PREFIX)/$(TARGET)' \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --disable-nls \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --with-included-opencdk \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --with-included-libtasn1 \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --with-included-libcfg \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --with-included-lzo
154
b66287a4eb7d disable parallel builds for package gnutls, because it causes trouble
Volker Grabsch <vog@notjusthosting.com>
parents: 140
diff changeset
36 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA=
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 endef