include $(TOPDIR)/rules.mk
PKG_NAME:=fstools
-PKG_VERSION:=2016-09-08
-
-PKG_RELEASE=$(PKG_SOURCE_VERSION)
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(LEDE_GIT)/project/fstools.git
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=fe514c9a20365ba00232c2c981463f43a4a41a7d
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
-PKG_MIRROR_MD5SUM:=f517c53ef17a1f94ea225b3ce69e15cbcc4dcb375558ef3cccfabee75878e34b
+PKG_SOURCE_DATE:=2017-02-11
+PKG_SOURCE_VERSION:=7d78836dac9e0ece57c51ab06589efa524276b9d
+PKG_MIRROR_HASH:=261d8e6d0faa18b3c87cd6089b9110d655da133e478033e454c749ac43d3bc15
CMAKE_INSTALL:=1
PKG_LICENSE:=GPL-2.0
PKG_USE_MIPS16:=0
PKG_FLAGS:=nonshared
+PKG_BUILD_DEPENDS := util-linux
PKG_CONFIG_DEPENDS := CONFIG_NAND_SUPPORT CONFIG_FSTOOLS_UBIFS_EXTROOT
PKG_MAINTAINER:=John Crispin <john@phrozen.org>