2 # Copyright (C) 2005-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=libgpg-error
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=ftp
://ftp.gnupg.org
/gcrypt
/libgpg-error
/ \
17 http
://mirrors.rootmode.com
/ftp.gnupg.org
/libgpg-error
/ \
18 http
://gulus.usherbrooke.ca
/pub
/appl
/GnuPG
/libgpg-error
/ \
19 http
://gnupg.unixmexico.org
/ftp
/libgpg-error
/
20 PKG_MD5SUM
:=f3e9870e213518b407a959f8d29cd554
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/libgpg-error
29 TITLE
:=GnuPG error handling helper library
30 URL
:=http
://www.gnupg.org
/related_software
/libgpg-error
/
33 define Package
/libgpg-error
/description
34 An helper library for common error codes and descriptions.
35 This is a library that defines common error values for
all GnuPG
36 components. Among these are GPG
, GPGSM
, GPGME
, GPG-Agent
, libgcrypt
,
37 Libksba
, DirMngr
, Pinentry
, SmartCard Daemon and possibly more in the
41 define Build
/Configure
42 $(call Build
/Configure
/Default
, \
50 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
51 DESTDIR
="$(PKG_INSTALL_DIR)" \
55 define Build
/InstallDev
57 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/gpg-error-config
$(1)/usr
/bin
/
58 mkdir
-p
$(1)/usr
/include
59 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/gpg-error.h
$(1)/usr
/include/
61 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libgpg-error.
{a
,so
*} $(1)/usr
/lib
/
62 mkdir
-p
$(1)/usr
/share
/aclocal
63 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/aclocal
/gpg-error.m4
$(1)/usr
/share
/aclocal
/
66 define Package
/libgpg-error
/install
67 $(INSTALL_DIR
) $(1)/usr
/lib
68 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libgpg-error.so.
* $(1)/usr
/lib
/
71 $(eval
$(call BuildPackage
,libgpg-error
))