Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #
  2. # Copyright (C) 2017 Stijn Tintel <stijn@linux-ipv6.be>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=vallumd
  9. PKG_VERSION:=0.1.3
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/stintel/vallumd/archive/$(PKG_VERSION)/
  13. PKG_MD5SUM:=b40bede34ea321daf799276111e0e804007dc7c10eb031a0a654982957dcfb25
  14. PKG_LICENSE:=GPL-3.0
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_MAINTAINER:=Stijn Tintel <stijn@linux-ipv6.be>
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/cmake.mk
  19. define Package/vallumd
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=Centralized or distributed blacklist
  23. DEPENDS:=+ipset +libmosquitto
  24. endef
  25. define Package/vallumd/description
  26. Centralized or distributed blacklist
  27. endef
  28. define Package/vallumd/conffiles
  29. /etc/config/vallumd
  30. endef
  31. define Package/vallumd/install
  32. $(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/usr/sbin
  33. $(INSTALL_CONF) ./files/vallumd.conf $(1)/etc/config/vallumd
  34. $(INSTALL_BIN) ./files/vallumd.init $(1)/etc/init.d/vallumd
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/vallumd $(1)/usr/sbin/vallumd
  36. endef
  37. $(eval $(call BuildPackage,vallumd))