openwrt_archive/net/cifs-utils/Makefile
Felix Fietkau 369a8a860c cifs-utils: disable libcap support
SVN-Revision: 32212
2012-06-11 21:57:36 +00:00

41 lines
877 B
Makefile

#
# Copyright (C) 2007-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=cifs-utils
PKG_VERSION:=5.4
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://ftp.samba.org/pub/linux-cifs/cifs-utils
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_MD5SUM:=dde98336c833b59777114145cb8f3c64
include $(INCLUDE_DIR)/package.mk
define Package/cifsmount
SECTION:=net
CATEGORY:=Network
TITLE:=CIFS mount utilities
URL:=http://wiki.samba.org/index.php/LinuxCIFS_utils
endef
TARGET_CFLAGS += -Wno-error
CONFIGURE_ARGS += \
--exec-prefix=/usr \
--prefix=/ \
--with-libcap-ng=no \
--with-libcap=no
define Package/cifsmount/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,cifsmount))