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