2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_BUILD_DIR:=$(BUILD_DIR)/cifsmount
16 include $(INCLUDE_DIR)/package.mk
18 define Package/cifsmount
22 TITLE:=CIFS mounting helper utility
25 define Package/cifsmount/description
26 An user space helper utility for mounting remote CIFS shares.
30 mkdir -p $(PKG_BUILD_DIR)
34 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
37 define Package/cifsmount/install
38 $(INSTALL_DIR) $(1)/sbin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/sbin/
42 $(eval $(call BuildPackage,cifsmount))