1 # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
3 include $(TOPDIR
)/rules.mk
9 PKG_SOURCE_URL
:=@SF
/mutt
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
11 PKG_MD5SUM
:=00e6f8f7c37d4840e5e30583ebee21ce
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,MUTT
,mutt
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
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 \
31 --target
=$(GNU_TARGET_NAME
) \
32 --host
=$(GNU_TARGET_NAME
) \
33 --build
=$(GNU_HOST_NAME
) \
38 --libexecdir
=/usr
/lib \
40 --datadir=/usr
/share \
41 --localstatedir
=/var \
45 --includedir=$(PKG_BUILD_DIR
)/. \
46 --oldincludedir=$(PKG_BUILD_DIR
)/. \
54 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
55 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
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
)