You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1019 B

  1. #
  2. # Copyright (C) 2019 Jianhui Zhao
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=lua-ev
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_URL=https://github.com/brimworks/lua-ev.git
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_DATE=2015-8-4
  13. PKG_SOURCE_VERSION:=339426fbe528f11cb3cd1af69a88f06bba367981
  14. PKG_MIRROR_HASH:=fe138f05845d549998443628e1b63e07d797977548a30e75305085cca4b25567
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=
  17. PKG_MAINTAINER:=Jianhui Zhao <jianhuizhao329@gmail.com>
  18. include $(INCLUDE_DIR)/package.mk
  19. include $(INCLUDE_DIR)/cmake.mk
  20. define Package/lua-ev
  21. SUBMENU:=Lua
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=lua-ev
  25. URL:=https://github.com/brimworks/lua-ev
  26. DEPENDS:=+lua +libev
  27. endef
  28. define Package/lua-ev/description
  29. Lua integration with libev.
  30. endef
  31. define Package/lua-ev/install
  32. $(INSTALL_DIR) $(1)/usr/lib/lua
  33. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ev.so $(1)/usr/lib/lua
  34. endef
  35. $(eval $(call BuildPackage,lua-ev))