1 # Copyright (C) 2009-2012 OpenWrt.org
4 include $(TOPDIR)/rules.mk
7 PKG_VERSION:=2016-09-30
9 PKG_RELEASE=$(PKG_SOURCE_VERSION)
12 PKG_SOURCE_URL=$(LEDE_GIT)/project/mountd.git
13 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
14 PKG_SOURCE_VERSION:=3dd115bb4046521986abe78bc488dfd6b95e5a6e
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
16 PKG_MIRROR_HASH:=40baff09ee09ab7b80ec4786c1e7c9ec69726c776f435244d225b765bd5992b7
19 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/cmake.mk
28 TITLE:=OpenWrt automount daemon
29 DEPENDS:=@USB_SUPPORT +uci +kmod-usb-storage +kmod-fs-autofs4
30 URL:=http://www.openwrt.org
33 define Package/mountd/description
34 openwrt automount daemon
37 define Package/mountd/conffiles
41 define Package/mountd/install
42 $(INSTALL_DIR) $(1)/sbin/ $(1)/etc/config/ $(1)/etc/init.d/
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mountd $(1)/sbin/
44 $(INSTALL_DATA) ./files/mountd.config $(1)/etc/config/mountd
45 $(INSTALL_BIN) ./files/mountd.init $(1)/etc/init.d/mountd
48 $(eval $(call BuildPackage,mountd))