1 # Copyright (C) 2009-2012 OpenWrt.org
4 include $(TOPDIR
)/rules.mk
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
11 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
12 PKG_MD5SUM
:=b77253ee4321d24d200fffc4f7ca3d15
13 PKG_MAINTAINER
:=John Crispin
<blogic@openwrt.org
>
14 PKG_CHECK_FORMAT_SECURITY
:=0
16 include $(INCLUDE_DIR
)/package.mk
21 TITLE
:=OpenWrt automount daemon
22 DEPENDS
:=@USB_SUPPORT
+uci
+kmod-usb-storage
+kmod-fs-autofs4
23 URL
:=http
://www.openwrt.org
26 define Package
/mountd
/description
27 openwrt automount daemon
30 define Package
/mountd
/conffiles
35 $(TARGET_CONFIGURE_OPTS
) \
36 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(PKG_BUILD_DIR)" \
37 LDFLAGS
="$(TARGET_LDFLAGS)" \
38 $(MAKE
) -C
$(PKG_BUILD_DIR
)
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
))