luci add ssr: fix openwrt cc support

This commit is contained in:
coolsnowwolf 2018-12-12 16:09:34 +08:00
parent 8d80c4a462
commit 2c5d926bbd

View File

@ -2,9 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-ssr-plus
PKG_VERSION:=1
PKG_RELEASE:=67
PO2LMO:=$(STAGING_DIR_HOSTPKG)/bin/po2lmo
PKG_RELEASE:=68
PKG_CONFIG_DEPENDS:= CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_V2ray \
@ -62,7 +60,7 @@ define Package/luci-app-ssr-plus/install
$(INSTALL_DIR) $(1)/
cp -pR ./root/* $(1)/
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
$(PO2LMO) ./po/zh-cn/ssr-plus.po $(1)/usr/lib/lua/luci/i18n/ssr-plus.zh-cn.lmo
po2lmo ./po/zh-cn/ssr-plus.po $(1)/usr/lib/lua/luci/i18n/ssr-plus.zh-cn.lmo
endef
define Package/luci-app-ssr-plus/postinst