3 include $(TOPDIR
)/rules.mk
9 PKG_SOURCE_URL
:=ftp
://ftp.gnupg.org
/gcrypt
/gnupg
/
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
11 PKG_MD5
:=2d59ed50d92f69994dbfbe00fe1612e4
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,GPG
,gpg
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
22 $(TARGET_CONFIGURE_OPTS
) \
23 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
24 ac_cv_c_bigendian
=no \
25 ac_cv_sizeof_off_t
=8 \
27 --target
=$(GNU_TARGET_NAME
) \
28 --host
=$(GNU_TARGET_NAME
) \
29 --build
=$(GNU_HOST_NAME
) \
34 --libexecdir
=/usr
/lib \
36 --datadir=/usr
/share \
37 --localstatedir
=/var \
41 --disable-gnupg-iconv \
42 --disable-card-support \
43 --disable-agent-support \
60 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
61 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
66 mkdir
-p
$(IDIR_GPG
)/usr
/bin
67 $(CP
) $(PKG_BUILD_DIR
)/g10
/gpg
$(IDIR_GPG
)/usr
/bin
/
69 $(IPKG_BUILD
) $(IDIR_GPG
) $(PACKAGE_DIR
)