trojan-plus: fix PKG_NAME

This commit is contained in:
CN_SZTL 2020-07-17 20:28:50 +08:00
parent 6d43481b8d
commit 7f0166e5c9
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -6,7 +6,7 @@
#
include $(TOPDIR)/rules.mk
PKG_NAME:=trojan
PKG_NAME:=trojan-plus
PKG_VERSION:=10.0.1
PKG_RELEASE:=1
@ -51,7 +51,7 @@ CMAKE_OPTIONS += \
-DBoost_DEBUG=ON \
-DBoost_NO_BOOST_CMAKE=ON
define Package/trojan
define Package/trojan-plus
SECTION:=net
CATEGORY:=Network
TITLE:=An unidentifiable mechanism that helps you bypass GFW. It's compatible with original trojan with experimental features.
@ -60,10 +60,10 @@ define Package/trojan
+boost +boost-system +boost-program_options
endef
define Package/trojan/install
define Package/trojan-plus/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/trojan $(1)/usr/sbin/trojan
endef
$(eval $(call BuildPackage,trojan))
$(eval $(call BuildPackage,trojan-plus))