[source] samba36: add Package/samba/Default

LEDE Commits lede-commits at lists.infradead.org
Wed May 24 06:38:28 PDT 2017


stintel pushed a commit to source.git, branch kodi:
https://git.lede-project.org/106edf96c70792bce3291a483430c0467b275d7d

commit 106edf96c70792bce3291a483430c0467b275d7d
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Sun Mar 12 03:09:36 2017 +0100

    samba36: add Package/samba/Default
    
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/network/services/samba36/Makefile | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
index fcf7721..65d2043 100644
--- a/package/network/services/samba36/Makefile
+++ b/package/network/services/samba36/Makefile
@@ -19,8 +19,6 @@ PKG_HASH:=8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751
 PKG_LICENSE:=GPL-3.0
 PKG_LICENSE_FILES:=COPYING
 
-PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
-
 PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
@@ -30,19 +28,22 @@ CONFIGURE_PATH:=source3
 
 PKG_BUILD_BIN:=$(PKG_BUILD_DIR)/$(MAKE_PATH)/bin
 
-define Package/samba36-server
+define Package/samba/Default
   SECTION:=net
   CATEGORY:=Network
-  TITLE:=Samba 3.6 SMB/CIFS server
   URL:=https://www.samba.org/
+  MAINTAINER:=Felix Fietkau <nbd at nbd.name>
+endef
+
+define Package/samba36-server
+  $(call Package/samba/Default)
+  TITLE:=Samba 3.6 SMB/CIFS server
   DEPENDS:=+USE_GLIBC:librt $(ICONV_DEPENDS)
 endef
 
 define Package/samba36-client
-  SECTION:=net
-  CATEGORY:=Network
+  $(call Package/samba/Default)
   TITLE:=Samba 3.6 SMB/CIFS client
-  URL:=https://www.samba.org/
   DEPENDS:=+libreadline +libncurses
 endef
 



More information about the lede-commits mailing list