include $(TOPDIR)/rules.mk
PKG_NAME:=fstools
-PKG_VERSION:=2016-05-23
-
-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:=0453f48e509077c83129b8aaceecb4e4430c8309
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_SOURCE_DATE:=2017-02-11
+PKG_SOURCE_VERSION:=7d78836dac9e0ece57c51ab06589efa524276b9d
+PKG_MIRROR_HASH:=261d8e6d0faa18b3c87cd6089b9110d655da133e478033e454c749ac43d3bc15
CMAKE_INSTALL:=1
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=
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>
SECTION:=base
CATEGORY:=Base system
TITLE:=rootfs snapshoting tool
- DEPENDS:=+libubox
+ DEPENDS:=+libubox +fstools
endef
define Package/block-mount