mirror of
https://github.com/kenzok8/small-package
synced 2025-01-07 07:06:58 +08:00
36 lines
736 B
Makefile
36 lines
736 B
Makefile
#
|
|
# Copyright (C) 2010-2011 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:=autoshare-samba
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=11
|
|
PKG_ARCH:=all
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/autoshare-samba
|
|
TITLE:=Samba autoconfig hotplug script.
|
|
MAINTAINER:=Lean
|
|
DEPENDS:=+wsdd2
|
|
endef
|
|
|
|
define Package/autoshare-samba/description
|
|
A hotplug script to config Samba share automatically.
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/autoshare-samba/install
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/block
|
|
$(INSTALL_BIN) ./files/20-smb $(1)/etc/hotplug.d/block/20-smb
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,autoshare-samba))
|