|
@ -8,13 +8,13 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=lua-rs232 |
|
|
PKG_NAME:=lua-rs232 |
|
|
|
|
|
PKG_SOURCE_DATE:=2019-11-20 |
|
|
|
|
|
PKG_SOURCE_VERSION:=c106c94d1a5a84e8582c936528303528608776c2 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_URL:=https://github.com/srdgame/librs232 |
|
|
PKG_SOURCE_URL:=https://github.com/srdgame/librs232 |
|
|
PKG_SOURCE_DATE:=2019-09-17 |
|
|
|
|
|
PKG_SOURCE_VERSION:=1c29a279484ee4850611b76a6571566e0ec133bb |
|
|
|
|
|
PKG_MIRROR_HASH:=c9063a729935135278f17dd98ca31757acfd4405bdf9f6e49d77ed0df8ddc823 |
|
|
|
|
|
|
|
|
PKG_MIRROR_HASH:=6fcabfd1501b3a7719229334ce73f1cc74f5ac5795b8faf6d65eb2ae6b14f9a5 |
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Dirk Chang <dirk@kooiot.com> |
|
|
PKG_MAINTAINER:=Dirk Chang <dirk@kooiot.com> |
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE:=MIT |
|
@ -48,8 +48,8 @@ define Build/InstallDev |
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/librs232/rs232* $(1)/usr/include/librs232 |
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/librs232/rs232* $(1)/usr/include/librs232 |
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librs232* $(1)/usr/lib/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librs232* $(1)/usr/lib/ |
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/5.1 |
|
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/lua/5.1/luars232* $(1)/usr/lib/lua/5.1 |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua |
|
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/lua/5.1/luars232* $(1)/usr/lib/lua |
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig |
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig |
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/librs232.pc $(1)/usr/lib/pkgconfig |
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/librs232.pc $(1)/usr/lib/pkgconfig |
|
|
endef |
|
|
endef |
|
@ -57,8 +57,8 @@ endef |
|
|
define Package/lua-rs232/install |
|
|
define Package/lua-rs232/install |
|
|
$(INSTALL_DIR) $(1)/usr/lib/ |
|
|
$(INSTALL_DIR) $(1)/usr/lib/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librs232.so* $(1)/usr/lib/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librs232.so* $(1)/usr/lib/ |
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/5.1 |
|
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/lua/5.1/luars232* $(1)/usr/lib/lua/5.1 |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua |
|
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/lua/5.1/luars232* $(1)/usr/lib/lua |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,lua-rs232)) |
|
|
$(eval $(call BuildPackage,lua-rs232)) |