Makefile 841 B

123456789101112131415161718192021222324252627282930313233343536
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=yafut
  3. PKG_RELEASE:=1
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL=https://github.com/kempniu/yafut.git
  6. PKG_MIRROR_HASH:=7540e977104d41b3aca27b58fda8cd84ebec80cfe01d955712fb8dc717aff6a6
  7. PKG_SOURCE_DATE:=2024-06-10
  8. PKG_SOURCE_VERSION:=38439f8a53d33b14744bc8f938662670b9d3e361
  9. PKG_LICENSE:=GPL-2.0
  10. PKG_LICENSE_FILES:=LICENSE
  11. include $(INCLUDE_DIR)/package.mk
  12. include $(INCLUDE_DIR)/cmake.mk
  13. CMAKE_INSTALL:=1
  14. define Package/yafut
  15. SECTION:=utils
  16. CATEGORY:=Utilities
  17. TITLE:=Yet Another File UTility
  18. DEPENDS:=@NAND_SUPPORT
  19. endef
  20. define Package/yafut/description
  21. A program for copying files from/to Yaffs file systems from userspace.
  22. endef
  23. define Package/yafut/install
  24. $(INSTALL_DIR) $(1)/usr/bin
  25. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/yafut $(1)/usr/bin
  26. endef
  27. $(eval $(call BuildPackage,yafut))