diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-07-13 15:13:22 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-07-14 16:07:25 +0200 |
commit | 2f77249d4062f966efcde68299ebe211a2117d2c (patch) | |
tree | fde64dc15f72c3fc50839f3119e9f73f90e8cb36 /sys-fs/avfs/avfs-1.1.5.ebuild | |
parent | net-vpn/openfortivpn: add 1.22.1 (diff) | |
download | gentoo-2f77249d4062f966efcde68299ebe211a2117d2c.tar.gz gentoo-2f77249d4062f966efcde68299ebe211a2117d2c.tar.bz2 gentoo-2f77249d4062f966efcde68299ebe211a2117d2c.zip |
sys-fs/avfs: add 1.1.5
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37541
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-fs/avfs/avfs-1.1.5.ebuild')
-rw-r--r-- | sys-fs/avfs/avfs-1.1.5.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/sys-fs/avfs/avfs-1.1.5.ebuild b/sys-fs/avfs/avfs-1.1.5.ebuild new file mode 100644 index 000000000000..acd4104c3756 --- /dev/null +++ b/sys-fs/avfs/avfs-1.1.5.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Virtual filesystem that allows browsing of compressed files" +HOMEPAGE="https://sourceforge.net/projects/avf/" +SRC_URI="https://downloads.sourceforge.net/avf/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="lzip +lzma webdav +zstd" + +RDEPEND=" + app-arch/bzip2:= + >=sys-fs/fuse-2.4:0 + sys-libs/zlib + lzip? ( app-arch/lzlib ) + lzma? ( app-arch/xz-utils ) + webdav? ( net-libs/neon:= ) + zstd? ( app-arch/zstd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-build/libtool + virtual/pkgconfig +" + +src_configure() { + myeconfargs=( + --enable-fuse + --enable-library + --enable-shared + --with-system-zlib + --with-system-bzlib + --disable-static + $(use_enable webdav dav) + $(use_with lzip) + $(use_with lzma xz) + $(use_with zstd) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove cruft + rm "${ED}"/usr/bin/{davpass,ftppass} || die + + # install docs + dodoc doc/{api-overview,background,FORMAT,INSTALL.*,README.avfs-fuse} + dosym ../../../$(get_libdir)/avfs/extfs/README /usr/share/doc/${PF}/README.extfs + + docinto scripts + dodoc scripts/*pass + + find "${ED}" -name "*.la" -delete || die +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + einfo "This version of AVFS includes FUSE support. It is user-based." + einfo "To execute:" + einfo "1) as user, mkdir ~/.avfs" + einfo "2) make sure fuse is either compiled into the kernel OR" + einfo " modprobe fuse or add to startup." + einfo "3) run mountavfs" + einfo "To unload daemon, type umountavfs" + einfo + einfo "READ the documentation! Enjoy :)" + fi +} |