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.

47 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.7
  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:=b2f21612474ab012e75accd167aab607a0614ff67efb56ea0f36789fa785cfab
  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 +libtalloc
  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-ng=no \
  31. --with-libcap=no
  32. define Package/cifsmount/install
  33. $(INSTALL_DIR) $(1)/usr/sbin
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/usr/sbin/
  35. endef
  36. $(eval $(call BuildPackage,cifsmount))