summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorAndreas Pretzsch <apr@cn-eng.de>2014-10-15 23:24:15 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-10-17 09:59:53 +0200
commit334ebf98fa09ff1fb536761fcd1458c2d0539560 (patch)
tree923c70a557a6a4bdf3cf8a1e3fee15f6d618aa3f /rules
parentdd4b55505584045d783d71727cef64a9c5a08b33 (diff)
downloadptxdist-334ebf98fa09ff1fb536761fcd1458c2d0539560.tar.gz
ptxdist-334ebf98fa09ff1fb536761fcd1458c2d0539560.tar.xz
archivemount: new package for archivemount 0.8.3
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 <apr@cn-eng.de> [mol: small cosmetic changes] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/archivemount.in19
-rw-r--r--rules/archivemount.make47
2 files changed, 66 insertions, 0 deletions
diff --git a/rules/archivemount.in b/rules/archivemount.in
new file mode 100644
index 000000000..13ee79b01
--- /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 000000000..b528062fc
--- /dev/null
+++ b/rules/archivemount.make
@@ -0,0 +1,47 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Andreas Pretzsch <apr@cn-eng.de>
+#
+# 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
+
+# ----------------------------------------------------------------------------
+# 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 <apr@cn-eng.de>")
+ @$(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