include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=exfatprogs
|
|
PKG_VERSION:=1.1.3
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
|
|
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:=e3ee4fb5af4abc9335aed7a749c319917c652ac1af687ba40aabd04a6b71f1ca
|
|
|
|
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))
|