42e91ef8a696fa497b5657933bf7e10f16aea0a3
[openwrt/openwrt.git] / package / utils / yafut / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=yafut
4 PKG_RELEASE:=1
5
6 PKG_SOURCE_PROTO:=git
7 PKG_SOURCE_URL=https://github.com/kempniu/yafut.git
8 PKG_MIRROR_HASH:=f5c76edc81477d2b68a7b032487d10fa361c8eaeecfc36908fde2ae828b7e822
9 PKG_SOURCE_DATE:=2025-02-18
10 PKG_SOURCE_VERSION:=e342c93981dc255bba58c17925b5c8983d7dacf8
11
12 PKG_LICENSE:=GPL-2.0
13 PKG_LICENSE_FILES:=LICENSE
14 PKG_FLAGS:=nonshared
15
16 include $(INCLUDE_DIR)/package.mk
17 include $(INCLUDE_DIR)/cmake.mk
18
19 CMAKE_INSTALL:=1
20
21 define Package/yafut
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=Yet Another File UTility
25 DEPENDS:=@NAND_SUPPORT
26 endef
27
28 define Package/yafut/description
29 A program for copying files from/to Yaffs file systems from userspace.
30 endef
31
32 define Package/yafut/install
33 $(INSTALL_DIR) $(1)/usr/bin
34 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/yafut $(1)/usr/bin
35 endef
36
37 $(eval $(call BuildPackage,yafut))