dosfstools: merge tools into a single package and remove symlinks
- Merge mkfs.fat/fsck.fat/fatlabel into a single package. - Remove compatibility symlinks. - Take over maintainership. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
dcd7fcfa5b
commit
5d032bce1f
1 changed files with 13 additions and 57 deletions
|
@ -9,17 +9,16 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=dosfstools
|
PKG_NAME:=dosfstools
|
||||||
PKG_VERSION:=4.0
|
PKG_VERSION:=4.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-3.0+
|
|
||||||
PKG_LICENSE_FILES:=COPYING
|
|
||||||
|
|
||||||
PKG_MAINTAINER:=David Bonnes <david.bonnes@gmail.com>
|
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://github.com/dosfstools/dosfstools/releases/download/v$(PKG_VERSION)/ \
|
PKG_SOURCE_URL:=https://github.com/dosfstools/dosfstools/releases/download/v$(PKG_VERSION)/ \
|
||||||
http://fossies.org/linux/misc
|
http://fossies.org/linux/misc
|
||||||
PKG_MD5SUM:=9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
|
PKG_MD5SUM:=9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
|
||||||
|
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
||||||
|
|
||||||
|
PKG_LICENSE:=GPL-3.0+
|
||||||
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
|
@ -28,69 +27,26 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/nls.mk
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-compat-symlinks \
|
|
||||||
--without-udev
|
--without-udev
|
||||||
|
|
||||||
define Package/dosfstools/Default
|
define Package/dosfstools
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
URL:=https://github.com/dosfstools
|
|
||||||
SUBMENU:=Filesystem
|
SUBMENU:=Filesystem
|
||||||
DEPENDS:=$(ICONV_DEPENDS)
|
DEPENDS:=$(ICONV_DEPENDS)
|
||||||
|
TITLE:=Utilities for making and checking MS-DOS FAT filesystems
|
||||||
|
URL:=https://github.com/dosfstools
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dosfsck
|
define Package/dosfstools/description
|
||||||
$(call Package/dosfstools/Default)
|
The dosfstools package includes the mkfs.fat and fsck.fat utilities, which respectively make and check MS-DOS FAT filesystems.
|
||||||
TITLE:=fsck (fsck.fat) utility from dosfstools
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dosfslabel
|
define Package/dosfstools/install
|
||||||
$(call Package/dosfstools/Default)
|
|
||||||
TITLE:=fslabel (fatlabel) utility from dosfstools
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/mkdosfs
|
|
||||||
$(call Package/dosfstools/Default)
|
|
||||||
TITLE:=mkfs (mkfs.fat) utility from dosfstools
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/dosfsck/description
|
|
||||||
Utilities to create and check MS-DOS FAT filesystems.
|
|
||||||
(fsck.vfat and fsck.fat for checking integrity of FAT volumes)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/dosfslabel/description
|
|
||||||
Utilities to create and check MS-DOS FAT filesystems.
|
|
||||||
(fatlabel for reading and writing labels of FAT volumes)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/mkdosfs/description
|
|
||||||
Utilities to create and check MS-DOS FAT filesystems.
|
|
||||||
(mkfs.vfat and mkfs.fat for creating FAT volumes)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/dosfsck/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dosfsck $(1)/usr/sbin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fsck.fat $(1)/usr/sbin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fsck.msdos $(1)/usr/sbin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fsck.vfat $(1)/usr/sbin/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/dosfslabel/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dosfslabel $(1)/usr/sbin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fatlabel $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fatlabel $(1)/usr/sbin/
|
||||||
endef
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fsck.fat $(1)/usr/sbin/
|
||||||
|
|
||||||
define Package/mkdosfs/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkdosfs $(1)/usr/sbin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.fat $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.fat $(1)/usr/sbin/
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.msdos $(1)/usr/sbin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.vfat $(1)/usr/sbin/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,dosfsck))
|
$(eval $(call BuildPackage,dosfstools))
|
||||||
$(eval $(call BuildPackage,dosfslabel))
|
|
||||||
$(eval $(call BuildPackage,mkdosfs))
|
|
||||||
|
|
Loading…
Reference in a new issue