projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel/modules: add kmod-adcxx module
[openwrt/.git]
/
tools
/
dosfstools
/
Makefile
diff --git
a/tools/dosfstools/Makefile
b/tools/dosfstools/Makefile
index 88ac057f16a4b998b6690010e60431dfaa92540e..e34ceaf32be68ca73f7e2f597f917d3dce2db59e 100644
(file)
--- a/
tools/dosfstools/Makefile
+++ b/
tools/dosfstools/Makefile
@@
-1,5
+1,6
@@
-#
-# Copyright (C) 2012 OpenWrt.org
+#
+# Copyright (C) 2012-2015 OpenWrt.org
+# Copyright (C) 2016 LEDE-Project.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-7,24
+8,20
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=dosfstools
include $(TOPDIR)/rules.mk
PKG_NAME:=dosfstools
-PKG_VERSION:=3.0.7
-PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
-PKG_SOURCE_URL:=http://dosfstools.sourcearchive.com/downloads/3.0.7/
-PKG_MD5SUM:=5d4d97c79e8dae60bb08c2fba36c94d6
-PKG_CAT:=zcat
+PKG_CPE_ID:=cpe:/a:dosfstools_project:dosfstools
+PKG_VERSION:=4.1
-include $(INCLUDE_DIR)/host-build.mk
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=https://github.com/dosfstools/dosfstools/releases/download/v$(PKG_VERSION)/ \
+ http://fossies.org/linux/misc
+PKG_HASH:=e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173
-define Host/Compile
- $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
-endef
+HOST_FIXUP:=autoreconf
-define Host/Install
- $(INSTALL_BIN) $(HOST_BUILD_DIR)/mkdosfs $(STAGING_DIR_HOST)/bin/
-endef
+include $(INCLUDE_DIR)/host-build.mk
-define Host/Clean
- rm -f $(STAGING_DIR_HOST)/bin/mkdosfs
-end
e
f
+ifeq ($(HOST_OS),Darwin)
+HOST_CFLAGS += -UHAVE_ENDIAN_H
+end
i
f
$(eval $(call HostBuild))
$(eval $(call HostBuild))