pakon-lists: update lists (v6)

Makefile polishing

(cherry-picked from commit e521d6a8)
parent c626f1de
#
## Copyright (C) 2017 CZ.NIC z.s.p.o. (http://www.nic.cz/)
## Copyright (C) 2017-2019 CZ.NIC z.s.p.o. (https://www.nic.cz/)
#
## This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
......@@ -8,19 +8,19 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=pakon-lists
PKG_VERSION:=5
PKG_VERSION:=6
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/turris/pakon-light-lists.git
PKG_SOURCE:=$(PKG_NAME).tar.gz
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_VERSION:=a0afbc6604d55915b7246ac7e15bd65757b0f57f
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_MAINTAINER:=Martin Petráček <martin.petracek@nic.cz>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
define Package/pakon-lists
TITLE:=$(PKG_NAME)
endef
......@@ -29,7 +29,7 @@ define Build/Compile
true
endef
define Package/$(PKG_NAME)/install
define Package/pakon-lists/install
$(INSTALL_DIR) $(1)/usr/share/pakon-light/domains_ignore/
$(INSTALL_DIR) $(1)/usr/share/pakon-light/domains_replace/
......@@ -41,7 +41,7 @@ define Package/$(PKG_NAME)/install
$(INSTALL_DATA) $(PKG_BUILD_DIR)/domains_ignore/cdn.txt $(1)/usr/share/pakon-light/domains_ignore/dist_cdn.txt
endef
define Package/$(PKG_NAME)/postinst
define Package/pakon-lists/postinst
#!/bin/sh
[ -n "$$IPKG_INSTROOT" ] || {
/usr/bin/python3 /usr/libexec/pakon-light/domains_reapply.py
......@@ -50,5 +50,4 @@ define Package/$(PKG_NAME)/postinst
}
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment