mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-02 14:40:52 +03:00
34 lines
549 B
Makefile
34 lines
549 B
Makefile
#
|
|
|
|
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))
|
|
|