fix hostapd (add missed changes from [3564])
[openwrt.git] / package / mutt / Makefile
1 # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=mutt
6 PKG_VERSION:=1.5.11
7 PKG_RELEASE:=1
8
9 PKG_SOURCE_URL:=@SF/mutt
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_MD5SUM:=00e6f8f7c37d4840e5e30583ebee21ce
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,MUTT,mutt,$(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)" \
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 ac_cv_sizeof_int=4 \
29 ac_cv_sizeof_long=4 \
30 ./configure \
31 --target=$(GNU_TARGET_NAME) \
32 --host=$(GNU_TARGET_NAME) \
33 --build=$(GNU_HOST_NAME) \
34 --prefix=/usr \
35 --exec-prefix=/usr \
36 --bindir=/usr/bin \
37 --sbindir=/usr/sbin \
38 --libexecdir=/usr/lib \
39 --sysconfdir=/etc \
40 --datadir=/usr/share \
41 --localstatedir=/var \
42 --mandir=/usr/man \
43 --infodir=/usr/info \
44 --program-prefix="" \
45 --includedir=$(PKG_BUILD_DIR)/. \
46 --oldincludedir=$(PKG_BUILD_DIR)/. \
47 --enable-pop \
48 --enable-imap \
49 --with-ssl \
50 $(DISABLE_NLS) \
51 );
52 touch $@
53
54 $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
55 $(MAKE) -C $(PKG_BUILD_DIR) \
56 CC=$(TARGET_CC)
57 touch $@
58
59 $(IPKG_MUTT):
60 mkdir -p $(IDIR_MUTT)/usr/bin
61 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_MUTT)/usr/bin/
62 $(RSTRIP) $(IDIR_MUTT)
63 $(IPKG_BUILD) $(IDIR_MUTT) $(PACKAGE_DIR)
This page took 0.04108 seconds and 5 git commands to generate.