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.

53 lines
1.2 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.8
  10. PKG_RELEASE:=1
  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:=e7d1f6050c43f21f82cd77e288eb756755effd22f0c310fc2c525df9d41dff79
  14. PKG_MAINTAINER:=Florian Fainelli <florian@openwrt.org>
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=libtool
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/cifsmount
  20. SECTION:=net
  21. CATEGORY:=Network
  22. DEPENDS:=+kmod-fs-cifs
  23. TITLE:=CIFS mount utilities
  24. URL:=http://wiki.samba.org/index.php/LinuxCIFS_utils
  25. endef
  26. TARGET_CFLAGS += -Wno-error
  27. CONFIGURE_ARGS += \
  28. --exec-prefix=/usr \
  29. --prefix=/ \
  30. --with-libcap=no \
  31. --disable-cifsupcall \
  32. --disable-cifscreds \
  33. --disable-cifsidmap \
  34. --disable-cifsacl \
  35. --disable-pam \
  36. --disable-systemd \
  37. --disable-man
  38. define Package/cifsmount/install
  39. $(INSTALL_DIR) $(1)/usr/sbin
  40. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/usr/sbin/
  41. endef
  42. $(eval $(call BuildPackage,cifsmount))