Makefile (1097B)
1 # 2 # Copyright (C) 2017 Lucian Cristian <lucian.cristian@gmail.com> 3 # 4 # This is free software, licensed under the GNU General Public License v2. 5 # See /LICENSE for more information. 6 # 7 8 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=greyfix 11 PKG_VERSION:=0.4.0 12 PKG_RELEASE:=1 13 14 PKG_SOURCE_URL:=http://www.kim-minh.com/pub/greyfix 15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 16 PKG_HASH:=26013edce3a38d586282bfc22eb91bd22df54e3558ea1b3dae54d3e7a769e4fe 17 18 MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com> 19 PKG_LICENSE:=GPLv2 20 21 PKG_BUILD_PARALLEL:=1 22 23 include $(INCLUDE_DIR)/package.mk 24 25 define Package/greyfix 26 SECTION:=mail 27 CATEGORY:=Mail 28 DEPENDS:=+libdb47 29 TITLE:=Greyfix - greylisting with Postfix. 30 URL:=http://www.kim-minh.com/pub/greyfix/ 31 endef 32 33 define Package/greyfix/description 34 Greyfix is the greylisting policy daemon for Postfix written by Kim Minh Kaplan. 35 endef 36 37 CONFIGURE_ARGS += \ 38 --localstatedir=/usr/lib \ 39 40 define Package/greyfix/install 41 $(INSTALL_DIR) $(1)/usr/sbin \ 42 $(1)/usr/lib/greyfix 43 $(CP) $(PKG_BUILD_DIR)/greyfix $(1)/usr/sbin/ 44 endef 45 46 $(eval $(call BuildPackage,greyfix))