1
0

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:=3
  6. PKG_SOURCE_PROTO:=git
  7. PKG_SOURCE_URL=$(LEDE_GIT)/project/mountd.git
  8. PKG_SOURCE_DATE:=2017-11-09
  9. PKG_SOURCE_VERSION:=7826ca5d6aca691dcb6f98ab203a090d42e79337
  10. PKG_MIRROR_HASH:=6fda7666a99974ac9179b102f6e8027f6c4091be9b49e1eed49dee7442d83206
  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))