Merge pull request #3326 from ClaymorePT/boost_1_62_r1
[feed/packages.git] / utils / dosfstools / Makefile
1 #
2 # Copyright (C) 2006-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dosfstools
11 PKG_VERSION:=4.0
12 PKG_RELEASE:=2
13
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_MD5SUM:=9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
18 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
19
20 PKG_LICENSE:=GPL-3.0+
21 PKG_LICENSE_FILES:=COPYING
22
23 PKG_INSTALL:=1
24 PKG_FIXUP:=autoreconf
25
26 include $(INCLUDE_DIR)/package.mk
27 include $(INCLUDE_DIR)/nls.mk
28
29 CONFIGURE_ARGS += \
30 --without-udev
31
32 define Package/dosfstools
33 SECTION:=utils
34 CATEGORY:=Utilities
35 SUBMENU:=Filesystem
36 DEPENDS:=$(ICONV_DEPENDS)
37 TITLE:=Utilities for making and checking MS-DOS FAT filesystems
38 URL:=https://github.com/dosfstools
39 endef
40
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.
43 endef
44
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/
50 endef
51
52 $(eval $(call BuildPackage,dosfstools))