nuke $Id$ in /packages as well
[packages.git] / utils / cifsmount / Makefile
1
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cifsmount
11 PKG_VERSION:=1.5
12 PKG_RELEASE:=2
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/cifsmount
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/cifsmount
19   SECTION:=utils
20   CATEGORY:=Utilities
21   TITLE:=CIFS mounting helper utility
22 endef
23
24 define Package/cifsmount/description
25         An user space helper utility for mounting remote CIFS shares.
26 endef
27
28 define Build/Prepare
29         mkdir -p $(PKG_BUILD_DIR)
30 endef
31
32 define Build/Compile
33         $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
34 endef
35
36 define Package/cifsmount/install
37         $(INSTALL_DIR) $(1)/sbin
38         $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/sbin/
39 endef
40
41 $(eval $(call BuildPackage,cifsmount))