mxe/src/libgpg_error.mk

30 lines
1005 B
Makefile
Raw Normal View History

2012-03-28 14:46:58 +01:00
# This file is part of MXE.
2012-03-29 11:14:15 +01:00
# See index.html for further information.
2008-11-08 18:46:27 +00:00
PKG := libgpg_error
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.12
2013-06-25 21:08:00 +01:00
$(PKG)_CHECKSUM := 259f359cd1440b21840c3a78e852afd549c709b8
$(PKG)_SUBDIR := libgpg-error-$($(PKG)_VERSION)
$(PKG)_FILE := libgpg-error-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
2008-11-08 18:46:27 +00:00
define $(PKG)_UPDATE
$(WGET) -q -O- 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/' | \
2010-12-08 11:03:33 +00:00
$(SED) -n 's,.*libgpg-error-\([1-9]\.[1-9][0-9][^>]*\)\.tar.*,\1,p' | \
2008-11-08 18:46:27 +00:00
tail -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--build="`config.guess`" \
2008-11-08 18:46:27 +00:00
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
2010-09-18 20:15:38 +01:00
--disable-nls \
--disable-languages
$(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)/src' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
2008-11-08 18:46:27 +00:00
endef