Advertisement
Guest User

Untitled

a guest
Jun 6th, 2021
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.81 KB | None | 0 0
  1. include $(TOPDIR)/rules.mk
  2.  
  3. PKG_NAME:=spray
  4. PKG_VERSION:=0.0.1
  5. PKG_RELEASE:=1
  6.  
  7. PKG_BUILD_DIR:=$(BUILD_DIR)/spray-$(PKG_VERSION)
  8. PKG_SOURCE_PROTO:=git
  9. PKG_SOURCE_URL:=$(HOME)/projects/spray/
  10. PKG_SOURCE_VERSION:=HEAD
  11. PKG_MIRROR_HASH:=ca4e261290d2b919df55c7542574bb38b8864bbe9cc11ed194d70e154ba8f605
  12.  
  13. PKG_BUILD_DEPENDS:=bearssl
  14. #MAKE_PATH:=src
  15.  
  16. include $(INCLUDE_DIR)/package.mk
  17.  
  18. define Package/spray
  19.   SECTION := base
  20.   CATEGORY := Utilities
  21.   TITLE := Spray collecting daemon
  22. endef
  23.  
  24. define Package/spray/description
  25.   Spray collecting daemon
  26. endef
  27.  
  28. define Build/Configure
  29. endef
  30.  
  31. define Build/Compile
  32.     $(call Build/Compile/Default)
  33. endef
  34.  
  35. define Package/spray/install
  36.     $(INSTALL_DIR) $(1)/usr/bin
  37.     $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/spray $(1)/usr/bin/
  38. endef
  39.  
  40. $(eval $(call BuildPackage,spray))
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement