2 # Copyright (c) 2015-2017 Dirk Brenken (dev@brenken.org)
3 # This is free software, licensed under the GNU General Public License v3.
6 include $(TOPDIR
)/rules.mk
12 PKG_MAINTAINER
:=Dirk Brenken
<dev@brenken.org
>
14 include $(INCLUDE_DIR
)/package.mk
16 define Package
/adblock
19 TITLE
:=Powerful adblock script to block ad
/abuse domains
20 DEPENDS
:=+jshn
+jsonfilter
24 define Package
/adblock
/description
25 Powerful adblock script to block ad
/abuse domains via dnsmasq
, unbound or bind dns backend.
26 The script supports many domain blacklist sites plus manual black- and whitelist overrides.
27 Please see https
://github.com
/openwrt
/packages
/blob
/master
/net
/adblock
/files
/README.md for further information.
31 define Package
/adblock
/conffiles
33 /etc
/adblock
/adblock.whitelist
34 /etc
/adblock
/adblock.blacklist
40 define Build
/Configure
46 define Package
/adblock
/install
47 $(INSTALL_DIR
) $(1)/usr
/bin
48 $(INSTALL_BIN
) .
/files
/adblock.sh
$(1)/usr
/bin
/
50 $(INSTALL_DIR
) $(1)/etc
/init.d
51 $(INSTALL_BIN
) .
/files
/adblock.init
$(1)/etc
/init.d
/adblock
53 $(INSTALL_DIR
) $(1)/etc
/config
54 $(INSTALL_CONF
) .
/files
/adblock.conf
$(1)/etc
/config
/adblock
56 $(INSTALL_DIR
) $(1)/etc
/adblock
57 $(INSTALL_CONF
) .
/files
/adblock.notify
$(1)/etc
/adblock
/
58 $(INSTALL_CONF
) .
/files
/adblock.blacklist
$(1)/etc
/adblock
/
59 $(INSTALL_CONF
) .
/files
/adblock.whitelist
$(1)/etc
/adblock
/
62 $(eval
$(call BuildPackage
,adblock
))