annotate src/libgcrypt.mk @ 2333:f653602a0500

Rebrand to new project name MXE
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 28 Mar 2012 15:46:58 +0200
parents e4c83fa61a5b
children f48c5b085a38
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: 2153
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: 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: 306
diff changeset
3
139
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # libgcrypt
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := libgcrypt
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 :=
2140
0504c33af9fd Revert "update package libgcrypt" (oops)
Mark Brand <mabrand@mabrand.nl>
parents: 2139
diff changeset
7 $(PKG)_VERSION := 1.5.0
0504c33af9fd Revert "update package libgcrypt" (oops)
Mark Brand <mabrand@mabrand.nl>
parents: 2139
diff changeset
8 $(PKG)_CHECKSUM := 3e776d44375dc1a710560b98ae8437d5da6e32cf
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := libgcrypt-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_FILE := libgcrypt-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
11 $(PKG)_WEBSITE := ftp://ftp.gnupg.org/gcrypt/libgcrypt/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
12 $(PKG)_URL := ftp://ftp.gnupg.org/gcrypt/libgcrypt/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
13 $(PKG)_DEPS := gcc libgpg_error
139
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'ftp://ftp.gnupg.org/gcrypt/libgcrypt/' | \
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*libgcrypt-\([0-9][^>]*\)\.tar.*,\1,p' | \
2141
574353ed434c package libgcrypt: fix update macro
Mark Brand <mabrand@mabrand.nl>
parents: 2140
diff changeset
18 grep -v '^1\.4\.' | \
139
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 tail -1
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
2153
e4c83fa61a5b replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents: 2148
diff changeset
25 --build="`config.guess`" \
139
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-shared \
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --prefix='$(PREFIX)/$(TARGET)' \
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --with-gpg-error-prefix='$(PREFIX)/$(TARGET)'
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
c37e2998b4a2 translated package: libgcrypt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef