1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit toolchain-funcs eutils
9 DESCRIPTION="FUSE file system to navigate, extract, create and modify ZIP archives"
10 HOMEPAGE="https://bitbucket.org/agalanin/fuse-zip"
11 SRC_URI="https://fuse-zip.googlecode.com/files/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DEPEND="dev-libs/libzip
25 # Fix strip than installing fuse-zip
26 sed -i -e 's/install -m 755 -s/install -m 755/' Makefile || die "sed failed"
28 epatch "${FILESDIR}"/"${PN}"-0.2.13-as-needed.patch
29 #enable parallel build
30 sed -i -e "s:make :\$\(MAKE\) :" Makefile || die "sed failed"
34 emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} ${LDFLAGS}"
38 emake INSTALLPREFIX="${D}"/usr install