From: Felix Fietkau Date: Fri, 4 May 2012 11:05:13 +0000 (+0000) Subject: samba36: add a package for nmblookup/smbclient X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1ebba00218ebd105dc559284dc5df632992c1496;p=openwrt%2Fsvn-archive%2Fpackages.git samba36: add a package for nmblookup/smbclient SVN-Revision: 31582 --- diff --git a/net/samba36/Makefile b/net/samba36/Makefile index 85b747e95..ee712cfbb 100644 --- a/net/samba36/Makefile +++ b/net/samba36/Makefile @@ -30,9 +30,17 @@ define Package/samba36-server URL:=http://www.samba.org/ endef +define Package/samba36-client + SECTION:=net + CATEGORY:=Network + TITLE:=Samba 3.6 SMB/CIFS client + URL:=http://www.samba.org/ +endef + define Package/samba36-server/config config PACKAGE_SAMBA_MAX_DEBUG_LEVEL int "Maximum level of compiled-in debug messages" + depends PACKAGE_samba36-server || PACKAGE_samba36-client default -1 endef @@ -119,5 +127,12 @@ define Package/samba36-server/install ln -sf samba_multicall $(1)/usr/sbin/smbpasswd endef +define Package/samba36-client/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_BIN)/smbclient $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_BIN)/nmblookup $(1)/usr/sbin +endef + +$(eval $(call BuildPackage,samba36-client)) $(eval $(call BuildPackage,samba36-server))