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