comparison src/libgpg_error.mk @ 1146:d5ccac33879f

upgrade package libgpg_error Static library needs upstream patch to initialize.
author Mark Brand <mabrand@mabrand.nl>
date Thu, 16 Sep 2010 22:04:30 +0200
parents 9a8f1b49a25f
children 286c23180408
comparison
equal deleted inserted replaced
1145:5e71cdd703e8 1146:d5ccac33879f
2 # See doc/index.html for further information. 2 # See doc/index.html for further information.
3 3
4 # libgpg-error 4 # libgpg-error
5 PKG := libgpg_error 5 PKG := libgpg_error
6 $(PKG)_IGNORE := 6 $(PKG)_IGNORE :=
7 $(PKG)_VERSION := 1.8 7 $(PKG)_VERSION := 1.9
8 $(PKG)_CHECKSUM := f5cf677a7cd684645feaa9704d09eb5cd6d97e8a 8 $(PKG)_CHECKSUM := 6836579e42320b057a2372bbcd0325130fe2561e
9 $(PKG)_SUBDIR := libgpg-error-$($(PKG)_VERSION) 9 $(PKG)_SUBDIR := libgpg-error-$($(PKG)_VERSION)
10 $(PKG)_FILE := libgpg-error-$($(PKG)_VERSION).tar.bz2 10 $(PKG)_FILE := libgpg-error-$($(PKG)_VERSION).tar.bz2
11 $(PKG)_WEBSITE := ftp://ftp.gnupg.org/gcrypt/libgpg-error/ 11 $(PKG)_WEBSITE := ftp://ftp.gnupg.org/gcrypt/libgpg-error/
12 $(PKG)_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/$($(PKG)_FILE) 12 $(PKG)_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/$($(PKG)_FILE)
13 $(PKG)_DEPS := gcc 13 $(PKG)_DEPS := gcc
17 $(SED) -n 's,.*libgpg-error-\([0-9][^>]*\)\.tar.*,\1,p' | \ 17 $(SED) -n 's,.*libgpg-error-\([0-9][^>]*\)\.tar.*,\1,p' | \
18 tail -1 18 tail -1
19 endef 19 endef
20 20
21 define $(PKG)_BUILD 21 define $(PKG)_BUILD
22 cd '$(1)' && ./autogen.sh
23
22 # wine confuses the cross-compiling detection, so set it explicitly 24 # wine confuses the cross-compiling detection, so set it explicitly
23 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' 25 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
24 cd '$(1)' && ./configure \ 26 cd '$(1)' && ./configure \
25 --host='$(TARGET)' \ 27 --host='$(TARGET)' \
26 --disable-shared \ 28 --disable-shared \