Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Copyright (C) 2009-2012 OpenWrt.org
  2. # All rights reserved.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:=mountd
  5. PKG_RELEASE:=4
  6. PKG_SOURCE_PROTO:=git
  7. PKG_SOURCE_URL=$(LEDE_GIT)/project/mountd.git
  8. PKG_SOURCE_DATE:=2018-02-26
  9. PKG_SOURCE_VERSION:=5f2c419109126ead730006366c6b4e83719523cf
  10. PKG_MIRROR_HASH:=b041afc94044a5b8cd559fecff6a47df126daa97b573a2a4c9563ed1d2223e88
  11. CMAKE_INSTALL:=1
  12. PKG_MAINTAINER:=John Crispin <john@phrozen.org>
  13. PKG_LICENSE:=GPL-2.0
  14. include $(INCLUDE_DIR)/package.mk
  15. include $(INCLUDE_DIR)/cmake.mk
  16. define Package/mountd
  17. SECTION:=utils
  18. CATEGORY:=Utilities
  19. TITLE:=OpenWrt automount daemon
  20. DEPENDS:=+uci +kmod-fs-autofs4
  21. URL:=http://www.openwrt.org
  22. endef
  23. define Package/mountd/description
  24. openwrt automount daemon
  25. endef
  26. define Package/mountd/conffiles
  27. /etc/config/mountd
  28. endef
  29. define Package/mountd/install
  30. $(INSTALL_DIR) $(1)/sbin/ $(1)/etc/config/ $(1)/etc/init.d/
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mountd $(1)/sbin/
  32. $(INSTALL_DATA) ./files/mountd.config $(1)/etc/config/mountd
  33. $(INSTALL_BIN) ./files/mountd.init $(1)/etc/init.d/mountd
  34. endef
  35. $(eval $(call BuildPackage,mountd))