Archivemount is a piece of glue code between libarchive and FUSE.
It can be used to mount a (possibly compressed) archive (as
in .tar.gz or .tar.bz2) and use it like an ordinary filesystem.

It is a user-space application setting up the mount.
Usage: archivemount <archivepath> <mountpoint> [options]

For more information, see
http://sourceforge.net/p/fuse/wiki/ArchiveFileSystems/#archivemount-mount-archives-tar-cpio
http://www.cybernoia.de/software/archivemount.html

Signed-off-by: Andreas Pretzsch <[email protected]>
---
 rules/archivemount.in   | 19 +++++++++++++++++++
 rules/archivemount.make | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 rules/archivemount.in
 create mode 100644 rules/archivemount.make

diff --git a/rules/archivemount.in b/rules/archivemount.in
new file mode 100644
index 0000000..13ee79b
--- /dev/null
+++ b/rules/archivemount.in
@@ -0,0 +1,19 @@
+## SECTION=disk_and_file
+
+config ARCHIVEMOUNT
+       tristate
+       prompt "archivemount"
+       select FUSE
+       select FUSE__LIB
+       select FUSE__UTIL
+       select LIBARCHIVE
+       help
+         Archivemount is a piece of glue code between libarchive and FUSE.
+         It can be used to mount a (possibly compressed) archive (as
+         in .tar.gz or .tar.bz2) and use it like an ordinary filesystem.
+
+         It is a user-space application setting up the mount.
+         Usage: archivemount <archivepath> <mountpoint> [options]
+         See "archivemount --help" for more information.
+
+         To umount, use "fusermount -u" from FUSE utils.
diff --git a/rules/archivemount.make b/rules/archivemount.make
new file mode 100644
index 0000000..e70e9cd
--- /dev/null
+++ b/rules/archivemount.make
@@ -0,0 +1,48 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Andreas Pretzsch <[email protected]>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+PACKAGES-$(PTXCONF_ARCHIVEMOUNT) += archivemount
+
+ARCHIVEMOUNT_VERSION   := 0.8.3
+ARCHIVEMOUNT_MD5       := a8c890e3fc315b07c7e85ad73a4b4760
+ARCHIVEMOUNT           := archivemount-$(ARCHIVEMOUNT_VERSION)
+ARCHIVEMOUNT_SUFFIX    := tar.gz
+ARCHIVEMOUNT_URL       := 
http://www.cybernoia.de/software/archivemount/$(ARCHIVEMOUNT).$(ARCHIVEMOUNT_SUFFIX)
+ARCHIVEMOUNT_SOURCE    := $(SRCDIR)/$(ARCHIVEMOUNT).$(ARCHIVEMOUNT_SUFFIX)
+ARCHIVEMOUNT_DIR       := $(BUILDDIR)/$(ARCHIVEMOUNT)
+ARCHIVEMOUNT_LICENSE   := LGPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+ARCHIVEMOUNT_CONF_TOOL := autoconf
+ARCHIVEMOUNT_CONF_OPT  := $(CROSS_AUTOCONF_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/archivemount.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, archivemount)
+       @$(call install_fixup, archivemount,PRIORITY,optional)
+       @$(call install_fixup, archivemount,SECTION,base)
+       @$(call install_fixup, archivemount,AUTHOR,"Andreas Pretzsch 
<[email protected]>")
+       @$(call install_fixup, archivemount,DESCRIPTION,"Mount archives using 
FUSE and libarchive.")
+
+       @$(call install_copy, archivemount, 0, 0, 0755, -, 
/usr/bin/archivemount)
+
+       @$(call install_finish, archivemount)
+
+       @$(call touch)
+
+# vim: syntax=make
-- 
2.1.1


-- 
ptxdist mailing list
[email protected]

Reply via email to