Makefile 1.2 KB

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