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.
9 include $(TOPDIR
)/rules.mk
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/cifsmount
17 include $(INCLUDE_DIR
)/package.mk
19 define Package
/cifsmount
22 TITLE
:=CIFS mounting helper utility
23 DESCRIPTION
:=Helper utility for mounting remote CIFS shares.
\\\
24 An user space helper for mounting remote CIFS shares
28 mkdir
-p
$(PKG_BUILD_DIR
)
31 define Build
/Configure
35 $(TARGET_CC
) $(TARGET_CFLAGS
) -o
$(PKG_BUILD_DIR
)/mount.cifs mount.cifs.c
38 define Package
/cifsmount
/install
39 install -d
-m0755
$(1)/sbin
40 install -m0755
$(PKG_BUILD_DIR
)/mount.cifs
$(1)/sbin
/
43 $(eval
$(call BuildPackage
,cifsmount
))