usbmuxd: Update to latest git
[feed/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:=6.8
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=https://download.samba.org/pub/linux-cifs/cifs-utils/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_HASH:=e7d1f6050c43f21f82cd77e288eb756755effd22f0c310fc2c525df9d41dff79
17
18 PKG_MAINTAINER:=Florian Fainelli <florian@openwrt.org>
19 PKG_LICENSE:=GPL-3.0
20 PKG_LICENSE_FILES:=COPYING
21
22 PKG_FIXUP:=libtool
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/cifsmount
27 SECTION:=net
28 CATEGORY:=Network
29 DEPENDS:=+kmod-fs-cifs
30 TITLE:=CIFS mount utilities
31 URL:=http://wiki.samba.org/index.php/LinuxCIFS_utils
32 endef
33
34 TARGET_CFLAGS += -Wno-error
35
36 CONFIGURE_ARGS += \
37 --exec-prefix=/usr \
38 --prefix=/ \
39 --with-libcap=no \
40 --disable-cifsupcall \
41 --disable-cifscreds \
42 --disable-cifsidmap \
43 --disable-cifsacl \
44 --disable-pam \
45 --disable-systemd \
46 --disable-man
47
48 define Package/cifsmount/install
49 $(INSTALL_DIR) $(1)/usr/sbin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/usr/sbin/
51 endef
52
53 $(eval $(call BuildPackage,cifsmount))