1 # Copyright (C) 2009-2012 OpenWrt.org
4 include $(TOPDIR)/rules.mk
7 PKG_VERSION:=2016-07-28
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:=46063a1657c449d46c1ed7384862f2c0aa051761
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
18 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
21 include $(INCLUDE_DIR)/package.mk
22 include $(INCLUDE_DIR)/cmake.mk
27 TITLE:=OpenWrt automount daemon
28 DEPENDS:=@USB_SUPPORT +uci +kmod-usb-storage +kmod-fs-autofs4
29 URL:=http://www.openwrt.org
32 define Package/mountd/description
33 openwrt automount daemon
36 define Package/mountd/conffiles
40 define Package/mountd/install
41 $(INSTALL_DIR) $(1)/sbin/ $(1)/etc/config/ $(1)/etc/init.d/
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mountd $(1)/sbin/
43 $(INSTALL_DATA) ./files/mountd.config $(1)/etc/config/mountd
44 $(INSTALL_BIN) ./files/mountd.init $(1)/etc/init.d/mountd
47 $(eval $(call BuildPackage,mountd))