blob: 6e71c05eddcb6065247c0635ef79a85c6ae0afc6 [file] [log] [blame]
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="FUSE file system to navigate, extract, create and modify ZIP archives"
HOMEPAGE="https://bitbucket.org/agalanin/fuse-zip"
SRC_URI="https://bitbucket.org/agalanin/${PN}/downloads/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="*"
IUSE=""
DEPEND="
dev-libs/libzip:=
sys-fs/fuse:0
"
RDEPEND="${DEPEND}"
RESTRICT="test"
DOCS=( changelog README.md )
PATCHES=(
"${FILESDIR}/${PN}-0.4.5-makefile.patch"
"${FILESDIR}/${PN}-0.7.0-makefile.patch"
"${FILESDIR}/${PN}-0.7.0-fix-unknown-file-types.patch"
"${FILESDIR}/${PN}-0.7.0-fix-utf8-filenames.patch"
"${FILESDIR}/${PN}-0.7.0-error-reporting.patch"
"${FILESDIR}/${PN}-0.7.0-lazy-caching.patch"
"${FILESDIR}/${PN}-0.7.0-password.patch"
"${FILESDIR}/${PN}-0.7.0-no-symlinks.patch"
"${FILESDIR}/${PN}-0.7.0-deduplicate-filenames.patch"
)
src_compile() {
tc-export PKG_CONFIG
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} ${LDFLAGS}"
}
src_install() {
default
doman fuse-zip.1
}