1
0

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:=6eece622d1df99ffee1a18d162d36292f32bf2d5e514663a6b61fd82c2ecbcba
  7. PKG_SOURCE_DATE:=2023-03-31
  8. PKG_SOURCE_VERSION:=16435e89d449f953712983315e1a89cdb678620d
  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))