|
@ -8,12 +8,12 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=ttyd |
|
|
PKG_NAME:=ttyd |
|
|
PKG_VERSION:=1.5.1 |
|
|
|
|
|
|
|
|
PKG_VERSION:=1.5.2 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)? |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)? |
|
|
PKG_HASH:=817d33d59834f9a76af99f689339722fc1ec9f3c46c9a324665b91cb44d79ee8 |
|
|
|
|
|
|
|
|
PKG_HASH:=b5b62ec2ce08add0173e6d1dfdd879e55f02f9490043e89f389981a62e87d376 |
|
|
|
|
|
|
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
@ -41,6 +41,10 @@ endef |
|
|
define Package/ttyd/install |
|
|
define Package/ttyd/install |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ttyd $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ttyd $(1)/usr/bin/ |
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config/ |
|
|
|
|
|
$(INSTALL_CONF) ./files/ttyd.config $(1)/etc/config/ttyd |
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d/ |
|
|
|
|
|
$(INSTALL_BIN) ./files/ttyd.init $(1)/etc/init.d/ttyd |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,ttyd)) |
|
|
$(eval $(call BuildPackage,ttyd)) |