3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=2d59ed50d92f69994dbfbe00fe1612e4
10 PKG_SOURCE_URL
:=ftp
://ftp.franken.de
/pub
/crypt
/mirror
/ftp.gnupg.org
/gcrypt
/gnupg \
11 ftp
://ftp.gnupg.org
/gcrypt
/gnupg
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
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)" \
25 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
26 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
27 ac_cv_c_bigendian
=no \
28 ac_cv_sizeof_off_t
=8 \
30 --target
=$(GNU_TARGET_NAME
) \
31 --host
=$(GNU_TARGET_NAME
) \
32 --build
=$(GNU_HOST_NAME
) \
38 --datadir=/usr
/share \
39 --includedir=/usr
/include \
40 --infodir=/usr
/share
/info \
42 --libexecdir
=/usr
/lib \
43 --localstatedir
=/var \
44 --mandir=/usr
/share
/man \
47 $(DISABLE_LARGEFILE
) \
50 --disable-gnupg-iconv \
51 --disable-card-support \
52 --disable-agent-support \
67 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
68 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
73 mkdir
-p
$(IDIR_GPG
)/usr
/bin
74 $(CP
) $(PKG_BUILD_DIR
)/g10
/gpg
$(IDIR_GPG
)/usr
/bin
/
76 $(IPKG_BUILD
) $(IDIR_GPG
) $(PACKAGE_DIR
)