You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.0 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=cifs-utils
  9. PKG_VERSION:=6.4
  10. PKG_RELEASE:=2
  11. PKG_SOURCE_URL:=https://download.samba.org/pub/linux-cifs/cifs-utils/
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_HASH:=38fc63926af435dae4ebcf4406275580a692d9fb9ee3e32170317cf2ba68e6e3
  14. PKG_MAINTAINER:=Florian Fainelli <florian@openwrt.org>
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_LICENSE_FILES:=COPYING
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/cifsmount
  19. SECTION:=net
  20. CATEGORY:=Network
  21. DEPENDS:=+kmod-fs-cifs
  22. TITLE:=CIFS mount utilities
  23. URL:=http://wiki.samba.org/index.php/LinuxCIFS_utils
  24. endef
  25. TARGET_CFLAGS += -Wno-error
  26. CONFIGURE_ARGS += \
  27. --exec-prefix=/usr \
  28. --prefix=/ \
  29. --with-libcap-ng=no \
  30. --with-libcap=no
  31. define Package/cifsmount/install
  32. $(INSTALL_DIR) $(1)/usr/sbin
  33. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/usr/sbin/
  34. endef
  35. $(eval $(call BuildPackage,cifsmount))