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:=1
  6. PKG_SOURCE_PROTO:=git
  7. PKG_SOURCE_URL=$(LEDE_GIT)/project/mountd.git
  8. PKG_SOURCE_DATE:=2016-12-19
  9. PKG_SOURCE_VERSION:=dd5799c9f8cc7a01c0572c067bf907b37cdd7d04
  10. PKG_MIRROR_HASH:=cdc9f61bf4ad4b5d02b7cad435de1566b53306ed532fe39d099ed91eec6c405c
  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))