Advertisement
Guest User

Untitled

a guest
Jan 31st, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. include $(TOPDIR)/rules.mk
  2.  
  3. PKG_NAME:=bloomd
  4. PKG_VERSION:=540
  5.  
  6. PKG_BUILD_DIR:=$(BUILD_DIR)/bloomd-$(PKG_VERSION)
  7. PKG_SOURCE:=$(BUILD_DIR)/../package/utils/bloomd
  8.  
  9. include $(INCLUDE_DIR)/package.mk
  10.  
  11. define Package/bloomd
  12. SECTION:=Utilities
  13. TITLE:=Bloomd
  14. URL:=https://github.com/armon/bloomd
  15. endef
  16.  
  17. define Package/bloomd/description
  18. Bloomd is a high-performance C server which is used to expose bloom filters
  19. and operations over them to networked clients. It uses a simple ASCII
  20. protocol which is human readable, and similar to memcached.
  21. endef
  22.  
  23. define Build/Prepare
  24. mkdir -p $(PKG_BUILD_DIR)
  25. $(CP) ./src/* $(PKG_BUILD_DIR)/
  26. endef
  27.  
  28. define package/bloomd/compile
  29. scons
  30. endef
  31.  
  32. define Package/bloomd/install
  33. $(INSTALL_DIR) $(1)/bin/
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/bloomd $(1)/bin/bloomd
  35. endef
  36.  
  37. $(eval $(call BuildPackage,bloomd))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement