mutt: moved to github
[packages.git] / net / cifs-utils / Makefile
1 #
2 # Copyright (C) 2007-2012 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:=cifs-utils
11 PKG_VERSION:=5.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=http://ftp.samba.org/pub/linux-cifs/cifs-utils
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_MD5SUM:=dde98336c833b59777114145cb8f3c64
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/cifsmount
21   SECTION:=net
22   CATEGORY:=Network
23   TITLE:=CIFS mount utilities
24   URL:=http://wiki.samba.org/index.php/LinuxCIFS_utils
25 endef
26
27 TARGET_CFLAGS += -Wno-error
28
29 CONFIGURE_ARGS += \
30         --exec-prefix=/usr \
31         --prefix=/ \
32         --with-libcap-ng=no \
33         --with-libcap=no
34
35 define Package/cifsmount/install
36         $(INSTALL_DIR) $(1)/usr/sbin
37         $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/usr/sbin/
38 endef
39
40 $(eval $(call BuildPackage,cifsmount))