You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.6 KiB

  1. #
  2. # Copyright (C) 2021 Michal Hrusecky <michal@hrusecky.net>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=afuse
  9. PKG_VERSION:=0.4.1
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Michal Hrusecky <michal@hrusecky.net>
  12. PKG_LICENSE:=GPL-2.0-or-later
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. PKG_SOURCE_URL:=https://github.com/pcarrier/$(PKG_NAME)/archive/refs/tags/v$(PKG_VERSION).tar.gz?
  16. PKG_HASH:=8c7950cdeb24cdff828cdd3807537ee12cab87b18ecef4496b7bdedb2b8bd0e9
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/afuse
  21. SECTION:=net
  22. CATEGORY:=Utilities
  23. SUBMENU:=Filesystem
  24. TITLE:=Automounting file system implemented in user-space using FUSE
  25. DEPENDS:=+libfuse +fuse-utils
  26. URL:=https://github.com/pcarrier/afuse
  27. endef
  28. define Package/afuse/description
  29. Automounting file system implemented in user-space using FUSE. It
  30. implements the most basic functionality that can be expected by an
  31. automounter; that is it manages a directory of virtual directories. If
  32. one of these virtual directories is accessed and is not already
  33. automounted, afuse will attempt to mount a filesystem onto that
  34. directory. If the mount succeeds the requested access proceeds as
  35. normal, otherwise it will fail with an error.
  36. endef
  37. TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/fuse/
  38. define Package/afuse/install
  39. $(INSTALL_DIR) $(1)/usr/bin
  40. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/afuse $(1)/usr/bin/
  41. endef
  42. $(eval $(call BuildPackage,afuse))