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.

44 lines
981 B

  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:=1
  11. PKG_SOURCE_URL:=http://ftp.samba.org/pub/linux-cifs/cifs-utils
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_MD5SUM:=b7d75b67fd3987952896d27256c7293d
  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. TITLE:=CIFS mount utilities
  22. URL:=http://wiki.samba.org/index.php/LinuxCIFS_utils
  23. endef
  24. TARGET_CFLAGS += -Wno-error
  25. CONFIGURE_ARGS += \
  26. --exec-prefix=/usr \
  27. --prefix=/ \
  28. --with-libcap-ng=no \
  29. --with-libcap=no
  30. define Package/cifsmount/install
  31. $(INSTALL_DIR) $(1)/usr/sbin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/usr/sbin/
  33. endef
  34. $(eval $(call BuildPackage,cifsmount))