1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit toolchain-funcs flag-o-matic autotools
9 DESCRIPTION="Parallel Indexed XZ compressor"
10 HOMEPAGE="https://github.com/vasi/pixz"
15 LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)]
16 >=app-arch/xz-utils-5[static-libs(+)]"
17 RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
19 static? ( ${LIB_DEPEND} )
22 if [[ ${PV} == "9999" ]] ; then
23 EGIT_REPO_URI="https://github.com/vasi/${PN}.git"
27 SRC_URI="https://github.com/vasi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
28 KEYWORDS="~amd64 ~arm ~x86"
36 use static && append-ldflags -static
37 append-flags -std=gnu99
42 emake CC="$(tc-getCC)" OPT=""