diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 18:46:27 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 18:46:27 (GMT) |
commit | 52ed3128bd42d782446a1aee58dfd795d427dfef (patch) | |
tree | ec46d62e1b22803bca17a541407a8ea2e2f9da9e | |
parent | 687088511a3016c281156e776cca96401b2e9928 (diff) | |
download | mxe-52ed3128bd42d782446a1aee58dfd795d427dfef.zip mxe-52ed3128bd42d782446a1aee58dfd795d427dfef.tar.gz mxe-52ed3128bd42d782446a1aee58dfd795d427dfef.tar.bz2 |
translated package: libgpg_error
-rw-r--r-- | src/libgpg_error.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libgpg_error.mk b/src/libgpg_error.mk new file mode 100644 index 0000000..d0641ff --- /dev/null +++ b/src/libgpg_error.mk @@ -0,0 +1,25 @@ +# libgpg-error +# ftp://ftp.gnupg.org/gcrypt/libgpg-error/ + +PKG := libgpg_error +$(PKG)_VERSION := 1.6 +$(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 + +define $(PKG)_UPDATE + wget -q -O- 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/' | \ + $(SED) -n 's,.*libgpg-error-\([0-9][^>]*\)\.tar.*,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + # wine confuses the cross-compiling detection, so set it explicitly + $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef |