3 include $(TOPDIR
)/rules.mk
9 PKG_SOURCE_URL
:=ftp
://ftp.franken.de
/pub
/crypt
/mirror
/ftp.gnupg.org
/gcrypt
/gnupg \
10 ftp
://ftp.gnupg.org
/gcrypt
/gnupg
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
12 PKG_MD5
:=2d59ed50d92f69994dbfbe00fe1612e4
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,GPG
,gpg
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
22 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
23 $(TARGET_CONFIGURE_OPTS
) \
24 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
25 ac_cv_c_bigendian
=no \
26 ac_cv_sizeof_off_t
=8 \
28 --target
=$(GNU_TARGET_NAME
) \
29 --host
=$(GNU_TARGET_NAME
) \
30 --build
=$(GNU_HOST_NAME
) \
35 --libexecdir
=/usr
/lib \
37 --datadir=/usr
/share \
38 --localstatedir
=/var \
42 --disable-gnupg-iconv \
43 --disable-card-support \
44 --disable-agent-support \
61 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
62 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
67 mkdir
-p
$(IDIR_GPG
)/usr
/bin
68 $(CP
) $(PKG_BUILD_DIR
)/g10
/gpg
$(IDIR_GPG
)/usr
/bin
/
70 $(IPKG_BUILD
) $(IDIR_GPG
) $(PACKAGE_DIR
)