mirror of https://github.com/bol-van/zapret/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
549 B
33 lines
549 B
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=tpws
|
|
PKG_RELEASE:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/tpws
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=tpws
|
|
SUBMENU:=Zapret
|
|
DEPENDS:=+zlib +libcap
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
$(CP) ./tpws/* $(PKG_BUILD_DIR)/
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS)
|
|
endef
|
|
|
|
define Package/tpws/install
|
|
$(INSTALL_DIR) $(1)/opt/zapret/tpws
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tpws $(1)/opt/zapret/tpws
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,tpws))
|
|
|
|
|