packages/utils/exfatprogs/Makefile
Daniel Golle 06a0ad47a0 exfatprogs: update to version 1.2.0
CHANGES:

 * fsck.exfat: Keep traveling files even if there is a corrupted
   directory entry set.

 * fsck.exfat: Introduce the option "b" to recover a boot sector even
   if an exFAT filesystem is not found.

 * fsck.exfat: Introduce the option "s" to create files in
   "/LOST+FOUND", which have clusters allocated but was not belonged
   to any files.

 * fsck.exfat: Rename '.' and '..' entry name to the one user want.

NEW FEATURES:

 * fsck.exfat: Repair corruptions of an exFAT filesystem.
   Please refer to fsck.exfat manpage to see what kind of corruptions
   can be repaired.

 * exfat2img: Dump metadata of an exFAT filesystem. Please refer to
   exfat2img manpage to see how to use it.

BUG FIXES:

 * fsck.exfat: Fix an infinite loop while traveling files.

 * tune.exfat: Fix bitmap entry corruption when adding new volume
   lablel.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-19 13:18:55 -08:00

53 lines
1.3 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=exfatprogs
PKG_VERSION:=1.2.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/$(PKG_NAME)/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
PKG_HASH:=afeaf10c99f70204941427d9cdc62b0219ff7f7d5eb0f1a179b0d7bf6cfedbad
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/exfatprogs/Default
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Filesystem
URL:=https://github.com/exfatprogs/exfatprogs
endef
define Package/exfat-mkfs
$(Package/exfatprogs/Default)
TITLE:=Utility for creating an exFAT File System
endef
define Package/exfat-fsck
$(Package/exfatprogs/Default)
TITLE:=Utility for checking/repairing an exFAT File System
endef
CONFIGURE_ARGS += \
--enable-shared \
--disable-static
define Package/exfat-mkfs/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.exfat $(1)/usr/sbin
endef
define Package/exfat-fsck/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fsck.exfat $(1)/usr/sbin
endef
$(eval $(call BuildPackage,exfat-mkfs))
$(eval $(call BuildPackage,exfat-fsck))