2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_BUILD_DIR
=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_MAINTAINER
:=Matteo Croce
<matteo@openwrt.org
>
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/banhostlist
23 TITLE
:=List of advertising domains
24 URL
:=http
://winhelp2002.mvps.org
/
27 define Package
/banhostlist
/description
28 List of domains serving advertising and malicious content to easily block them
32 define Build
/Compile
/Default
35 define Package
/banhostlist
/install
36 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
37 $(INSTALL_BIN
) .
/files
/updatebanhost
$(1)/etc
/hotplug.d
/iface
/80-banhosts
40 $(eval
$(call BuildPackage
,banhostlist
))