fix hostapd (add missed changes from [3564])
[openwrt.git] / package / gpg / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=gnupg
6 PKG_VERSION:=1.4.2.1
7 PKG_RELEASE:=1
8
9 PKG_SOURCE_URL:=ftp://ftp.gnupg.org/gcrypt/gnupg/
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
11 PKG_MD5:=2d59ed50d92f69994dbfbe00fe1612e4
12 PKG_CAT:=bzcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,GPG,gpg,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
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 \
26 ./configure \
27 --target=$(GNU_TARGET_NAME) \
28 --host=$(GNU_TARGET_NAME) \
29 --build=$(GNU_HOST_NAME) \
30 --prefix=/usr \
31 --exec-prefix=/usr \
32 --bindir=/usr/bin \
33 --sbindir=/usr/sbin \
34 --libexecdir=/usr/lib \
35 --sysconfdir=/etc \
36 --datadir=/usr/share \
37 --localstatedir=/var \
38 --mandir=/usr/man \
39 --infodir=/usr/info \
40 --program-prefix="" \
41 --disable-gnupg-iconv \
42 --disable-card-support \
43 --disable-agent-support \
44 --disable-bzip2 \
45 --disable-exec \
46 --disable-ldap \
47 --disable-hkp \
48 --disable-finger \
49 --disable-ftp \
50 --disable-largefile \
51 --disable-dns-srv \
52 --enable-fake-curl \
53 --disable-nls \
54 --disable-rpath \
55 --disable-regex \
56 $(DISABLE_NLS) \
57 );
58 touch $@
59
60 $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
61 $(MAKE) -C $(PKG_BUILD_DIR) \
62 CC=$(TARGET_CC)
63 touch $@
64
65 $(IPKG_GPG):
66 mkdir -p $(IDIR_GPG)/usr/bin
67 $(CP) $(PKG_BUILD_DIR)/g10/gpg $(IDIR_GPG)/usr/bin/
68 $(RSTRIP) $(IDIR_GPG)
69 $(IPKG_BUILD) $(IDIR_GPG) $(PACKAGE_DIR)
This page took 0.045126 seconds and 5 git commands to generate.