massive Makefile cleanup, add missing 'svn:keywords' property
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=fetchmail
|
||||
PKG_VERSION:=6.2.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=9956b30139edaa4f5f77c4d0dbd80225
|
||||
|
||||
PKG_SOURCE_URL:=http://www.catb.org/~esr/fetchmail/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.catb.org/~esr/fetchmail/
|
||||
PKG_MD5SUM:=9956b30139edaa4f5f77c4d0dbd80225
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -26,7 +26,8 @@ define Package/fetchmail
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Remote mail retriever
|
||||
DESCRIPTION:=Retrieves remote mail via POP/IMAP\\\
|
||||
DESCRIPTION:=\
|
||||
Retrieves remote mail via POP/IMAP.\\\
|
||||
Very useful in conjunction with mutt.
|
||||
URL:=http://www.catb.org/~esr/fetchmail/
|
||||
endef
|
||||
@ -34,22 +35,21 @@ endef
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-fallback=procmail \
|
||||
--without-hesiod, \
|
||||
--without-hesiod \
|
||||
, \
|
||||
ac_cv_path_procmail=/usr/sbin/procmail \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/fetchmail/install
|
||||
mkdir -p $(1)/usr/bin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
|
||||
install -d -m0755 $(1)/usr/bin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,fetchmail))
|
||||
|
Reference in New Issue
Block a user