CI: add PKG-INFO metadata file
[feed/packages.git] / utils / afuse / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=afuse
11 PKG_VERSION:=0.4.1
12 PKG_RELEASE:=1
13
14 PKG_MAINTAINER:=Michal Hrusecky <michal@hrusecky.net>
15 PKG_LICENSE:=GPL-2.0-or-later
16 PKG_LICENSE_FILES:=COPYING
17
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
21
22 PKG_FIXUP:=autoreconf
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/afuse
28 SECTION:=net
29 CATEGORY:=Utilities
30 SUBMENU:=Filesystem
31 TITLE:=Automounting file system implemented in user-space using FUSE
32 DEPENDS:=+libfuse +fuse-utils
33 URL:=https://github.com/pcarrier/afuse
34 endef
35
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.
44 endef
45
46 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/fuse/
47
48 define Package/afuse/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/afuse $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,afuse))