1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 03:43:53 +02:00
openwrt-packages/mail/greyfix/Makefile
Lucian Cristian 801834470b mail: add greyfix
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-11 04:32:47 +02:00

47 lines
1.1 KiB
Makefile

#
# Copyright (C) 2017 Lucian Cristian <lucian.cristian@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=greyfix
PKG_VERSION:=0.4.0
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://www.kim-minh.com/pub/greyfix
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=26013edce3a38d586282bfc22eb91bd22df54e3558ea1b3dae54d3e7a769e4fe
MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
PKG_LICENSE:=GPLv2
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/greyfix
SECTION:=mail
CATEGORY:=Mail
DEPENDS:=+libdb47
TITLE:=Greyfix - greylisting with Postfix.
URL:=http://www.kim-minh.com/pub/greyfix/
endef
define Package/greyfix/description
Greyfix is the greylisting policy daemon for Postfix written by Kim Minh Kaplan.
endef
CONFIGURE_ARGS += \
--localstatedir=/usr/lib \
define Package/greyfix/install
$(INSTALL_DIR) $(1)/usr/sbin \
$(1)/usr/lib/greyfix
$(CP) $(PKG_BUILD_DIR)/greyfix $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,greyfix))