--- /dev/null
+# GPGERROR
+GPGERROR_VERSION := 1.7
+GPGERROR_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-$(GPGERROR_VERSION).tar.bz2
+
+PKGS += gpg-error
+
+$(TARBALLS)/libgpg-error-$(GPGERROR_VERSION).tar.bz2:
+ $(call download,$(GPGERROR_URL))
+
+.sum-gpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2
+
+libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2 .sum-gpg-error
+ $(UNPACK)
+ $(MOVE)
+
+.gpg-error: libgpg-error
+ #$(RECONF)
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-nls --disable-shared --disable-languages
+ cd $< && $(MAKE) install
+ touch $@