Makefile (1013B)
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.4 12 PKG_RELEASE:=2 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_MD5SUM:=b7d75b67fd3987952896d27256c7293d 17 18 PKG_MAINTAINER:=Florian Fainelli <florian@openwrt.org> 19 PKG_LICENSE:=GPL-3.0 20 PKG_LICENSE_FILES:=COPYING 21 22 include $(INCLUDE_DIR)/package.mk 23 24 define Package/cifsmount 25 SECTION:=net 26 CATEGORY:=Network 27 DEPENDS:=+kmod-fs-cifs 28 TITLE:=CIFS mount utilities 29 URL:=http://wiki.samba.org/index.php/LinuxCIFS_utils 30 endef 31 32 TARGET_CFLAGS += -Wno-error 33 34 CONFIGURE_ARGS += \ 35 --exec-prefix=/usr \ 36 --prefix=/ \ 37 --with-libcap-ng=no \ 38 --with-libcap=no 39 40 define Package/cifsmount/install 41 $(INSTALL_DIR) $(1)/usr/sbin 42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/usr/sbin/ 43 endef 44 45 $(eval $(call BuildPackage,cifsmount))