annotate src/gnutls.mk @ 414:d2a6561bcb6d

add a copyright notice and license to each source file
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 21 Aug 2009 06:58:11 +0200
parents e5d8bae9ec6a
children c82e9294b774
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
1 # Copyright (C) 2009 Volker Grabsch <vog@notjusthosting.com>
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
2 #
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
3 # Permission is hereby granted, free of charge, to any person obtaining
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
4 # a copy of this software and associated documentation files (the
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
5 # "Software"), to deal in the Software without restriction, including
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
6 # without limitation the rights to use, copy, modify, merge, publish,
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
7 # distribute, sublicense, and/or sell copies of the Software, and to
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
8 # permit persons to whom the Software is furnished to do so, subject
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
9 # to the following conditions:
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
10 #
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
11 # The above copyright notice and this permission notice shall be
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
12 # included in all copies or substantial portions of the Software.
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
13 #
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
15 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
16 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
17 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
18 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
19 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
20 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
21
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 # GnuTLS
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
23 PKG := gnutls
393
e5d8bae9ec6a update version of package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents: 386
diff changeset
24 $(PKG)_VERSION := 2.8.1
e5d8bae9ec6a update version of package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents: 386
diff changeset
25 $(PKG)_CHECKSUM := b5fd364848709393d05def7e926caddd27169525
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
26 $(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
27 $(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
28 $(PKG)_WEBSITE := http://www.gnu.org/software/gnutls/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
29 $(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
30 $(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
31 $(PKG)_DEPS := gcc libgcrypt
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 define $(PKG)_UPDATE
273
8e1fd93483b2 improved version update mechanism (make update) of package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
34 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
35 grep '<a class="list subject"' | \
277
8fdf5f33f803 use only stable versions of package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents: 276
diff changeset
36 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^>]*\)<.*,\1,p' | \
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 head -1
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 endef
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 define $(PKG)_BUILD
203
5e5c9f9cabcb improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents: 154
diff changeset
41 echo '/* DEACTIVATED */' > '$(1)/gl/gai_strerror.c'
386
a0cb829aa676 replace "sed" with the correct sed variant in a Makfile of package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents: 380
diff changeset
42 $(SED) 's, sed , $(SED) ,g' -i '$(1)/gl/tests/Makefile.in'
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 cd '$(1)' && ./configure \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44 --host='$(TARGET)' \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 --disable-shared \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
46 --prefix='$(PREFIX)/$(TARGET)' \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 --with-libgcrypt-prefix='$(PREFIX)/$(TARGET)' \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
48 --disable-nls \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
49 --with-included-opencdk \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
50 --with-included-libtasn1 \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
51 --with-included-libcfg \
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
52 --with-included-lzo
154
b66287a4eb7d disable parallel builds for package gnutls, because it causes trouble
Volker Grabsch <vog@notjusthosting.com>
parents: 140
diff changeset
53 $(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
54 endef