Makefile 759 B

1234567891011121314151617181920212223242526272829303132333435
  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_SOURCE_DATE:=2023-03-31
  7. PKG_SOURCE_VERSION:=16435e89d449f953712983315e1a89cdb678620d
  8. PKG_LICENSE:=GPL-2.0
  9. PKG_LICENSE_FILES:=LICENSE
  10. include $(INCLUDE_DIR)/package.mk
  11. include $(INCLUDE_DIR)/cmake.mk
  12. CMAKE_INSTALL:=1
  13. define Package/yafut
  14. SECTION:=utils
  15. CATEGORY:=Utilities
  16. TITLE:=Yet Another File UTility
  17. DEPENDS:=@NAND_SUPPORT
  18. endef
  19. define Package/yafut/description
  20. A program for copying files from/to Yaffs file systems from userspace.
  21. endef
  22. define Package/yafut/install
  23. $(INSTALL_DIR) $(1)/usr/bin
  24. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/yafut $(1)/usr/bin
  25. endef
  26. $(eval $(call BuildPackage,yafut))