source: freewrt/package/gpg/Makefile

freewrt_2_0
Last change on this file was 60f571a, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

update gpg, cups and php4, remove php4-sqlite, use php5 if you need sqlite

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2271 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.9 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= gnupg
10PKG_VERSION:= 1.4.7
11PKG_RELEASE:= 1
12PKG_MD5SUM:= e86b7ef109a7a2d443beec2da4a9a4a0
13PKG_SOURCE_URL:= ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg \
14 ftp://ftp.gnupg.org/gcrypt/gnupg
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,GPG,gpg,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(WRKBUILD)/.configured:
21 (cd $(WRKBUILD); rm -rf config.cache; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS)" \
24 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
25 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
26 ac_cv_c_bigendian=no \
27 ac_cv_sizeof_off_t=8 \
28 ./configure \
29 --target=$(GNU_TARGET_NAME) \
30 --host=$(GNU_TARGET_NAME) \
31 --build=$(GNU_HOST_NAME) \
32 --program-prefix="" \
33 --program-suffix="" \
34 --prefix=/usr \
35 --exec-prefix=/usr \
36 --bindir=/usr/bin \
37 --datadir=/usr/share \
38 --includedir=/usr/include \
39 --infodir=/usr/share/info \
40 --libdir=/usr/lib \
41 --libexecdir=/usr/lib \
42 --localstatedir=/var \
43 --mandir=/usr/share/man \
44 --sbindir=/usr/sbin \
45 --sysconfdir=/etc \
46 --disable-nls \
47 --disable-asm \
48 --disable-gnupg-iconv \
49 --disable-card-support \
50 --disable-agent-support \
51 --disable-bzip2 \
52 --disable-exec \
53 --disable-ldap \
54 --disable-hkp \
55 --disable-finger \
56 --disable-ftp \
57 --disable-dns-srv \
58 --enable-fake-curl \
59 --disable-nls \
60 --disable-rpath \
61 --disable-regex \
62 );
63 touch $@
64
65$(WRKBUILD)/.built: $(WRKBUILD)/.configured
66 $(MAKE) -C $(WRKBUILD) \
67 CC=$(TARGET_CC)
68 touch $@
69
70$(IPKG_GPG):
71 mkdir -p $(IDIR_GPG)/usr/bin
72 $(CP) $(WRKBUILD)/g10/gpg $(IDIR_GPG)/usr/bin/
73 $(RSTRIP) $(IDIR_GPG)
74 $(IPKG_BUILD) $(IDIR_GPG) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.