2 # Copyright (C) 2006-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=https
://github.com
/dosfstools
/dosfstools
/releases
/download
/v
$(PKG_VERSION
)/ \
16 http
://fossies.org
/linux
/misc
17 PKG_HASH
:=e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173
18 PKG_MAINTAINER
:=Álvaro Fernández Rojas
<noltari@gmail.com
>
21 PKG_LICENSE_FILES
:=COPYING
26 include $(INCLUDE_DIR
)/package.mk
27 include $(INCLUDE_DIR
)/nls.mk
32 define Package
/dosfstools
36 DEPENDS
:=$(ICONV_DEPENDS
)
37 TITLE
:=Utilities for making and checking MS-DOS FAT filesystems
38 URL
:=https
://github.com
/dosfstools
41 define Package
/dosfstools
/description
42 The dosfstools package includes the mkfs.fat and fsck.fat utilities
, which respectively make and
check MS-DOS FAT filesystems.
45 define Package
/dosfstools
/install
46 $(INSTALL_DIR
) $(1)/usr
/sbin
47 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/fatlabel
$(1)/usr
/sbin
/
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/fsck.fat
$(1)/usr
/sbin
/
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/mkfs.fat
$(1)/usr
/sbin
/
52 $(eval
$(call BuildPackage
,dosfstools
))