설명 없음

Makefile 733B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # This software is licensed under the CC0-1.0 license.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=sockread
  6. PKG_VERSION:=1.0
  7. PKG_RELEASE:=1
  8. PKG_LICENSE:=CC0-1.0
  9. include $(INCLUDE_DIR)/package.mk
  10. define Package/sockread
  11. SECTION:=utils
  12. CATEGORY:=Utilities
  13. TITLE:=sockread
  14. MAINTAINER:=Moritz Warning <moritzwarning@web.de>
  15. endef
  16. define Package/sockread/description
  17. sockread writes and reads data from a Unix domain socket
  18. represented as a special file on the file system.
  19. endef
  20. define Build/Prepare
  21. mkdir -p $(PKG_BUILD_DIR)
  22. $(CP) ./src/* $(PKG_BUILD_DIR)/
  23. endef
  24. define Package/sockread/install
  25. $(INSTALL_DIR) $(1)/usr/bin
  26. $(INSTALL_BIN) $(PKG_BUILD_DIR)/sockread $(1)/usr/bin/
  27. endef
  28. $(eval $(call BuildPackage,sockread))