0
0
mirror of https://github.com/openwrt/packages.git synced 2025-08-08 21:01:46 +00:00
Files
packages/utils/banhosts/Makefile
Fabrice Fontaine 820fcc5fb9 treewide: fix licence typos
- PKG_LICENCE -> PKG_LICENSE
- PKC_LICENSE_FILES -> PKG_LICENSE_FILES
- BSD 3-Clause -> BSD-3-Clause
- BSD-3-clause -> BSD-3-Clause
- BSD-2-clause -> BSD-2-Clause
- Public Domain -> Public-Domain
- PublicDomain -> Public-Domain
- Drop unneeded ',' in PKG_LICENSE or PKG_LICENSE_FILES

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-01-31 16:00:10 -08:00

41 lines
901 B
Makefile

#
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=banhostlist
PKG_VERSION:=1
PKG_RELEASE:=2
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Matteo Croce <matteo@openwrt.org>
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
define Package/banhostlist
SECTION:=utils
CATEGORY:=Utilities
TITLE:=List of advertising domains
URL:=http://winhelp2002.mvps.org/
endef
define Package/banhostlist/description
List of domains serving advertising and malicious content to easily block them
endef
define Build/Compile/Default
endef
define Package/banhostlist/install
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_BIN) ./files/updatebanhost $(1)/etc/hotplug.d/iface/80-banhosts
endef
$(eval $(call BuildPackage,banhostlist))