summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-02-16 18:14:00 -0500
committerMike Frysinger <vapier@gentoo.org>2017-02-16 18:44:48 -0500
commit9824dadc490f29b6fe004577b94cba92162d545e (patch)
tree8115a31bfcbb0da1fb4304a716427864428923ca /app-arch/pixz/pixz-9999.ebuild
parentapp-arch/pixz: use default src_{compile,install} targets (diff)
downloadgentoo-9824dadc490f29b6fe004577b94cba92162d545e.tar.gz
gentoo-9824dadc490f29b6fe004577b94cba92162d545e.tar.bz2
gentoo-9824dadc490f29b6fe004577b94cba92162d545e.zip
app-arch/pixz: switch to release tarballs
Upstream provides releases with generated autotools, so switch to that to speed up the build.
Diffstat (limited to 'app-arch/pixz/pixz-9999.ebuild')
-rw-r--r--app-arch/pixz/pixz-9999.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild
index 7caca229a63e..fe9d1a813ca3 100644
--- a/app-arch/pixz/pixz-9999.ebuild
+++ b/app-arch/pixz/pixz-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit flag-o-matic autotools
+inherit flag-o-matic
DESCRIPTION="Parallel Indexed XZ compressor"
HOMEPAGE="https://github.com/vasi/pixz"
@@ -16,21 +16,21 @@ LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)]
>=app-arch/xz-utils-5[static-libs(+)]"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
- static? ( ${LIB_DEPEND} )
- app-text/asciidoc"
+ static? ( ${LIB_DEPEND} )"
+[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/vasi/${PN}.git"
- inherit git-r3
+ inherit git-r3 autotools
KEYWORDS=""
else
- SRC_URI="https://github.com/vasi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~x86"
fi
src_prepare() {
default
- eautoreconf
+ [[ ${PV} == "9999" ]] && eautoreconf
}
src_configure() {