diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2015-09-07 17:36:26 -0400 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2015-09-07 17:56:30 -0400 |
commit | 03c42cb70d8d0c35c40480d931ee1d7772ceeebc (patch) | |
tree | e3d647526118d2ada68f599d8c834433cdcd2164 /app-arch/pixz/pixz-9999.ebuild | |
parent | dev-ruby/open4: adding ~arm (diff) | |
download | gentoo-03c42cb70d8d0c35c40480d931ee1d7772ceeebc.tar.gz gentoo-03c42cb70d8d0c35c40480d931ee1d7772ceeebc.tar.bz2 gentoo-03c42cb70d8d0c35c40480d931ee1d7772ceeebc.zip |
app-arch/pixz: version bump and fix 9999
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-arch/pixz/pixz-9999.ebuild')
-rw-r--r-- | app-arch/pixz/pixz-9999.ebuild | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild index 57941097e605..4a04aab854ca 100644 --- a/app-arch/pixz/pixz-9999.ebuild +++ b/app-arch/pixz/pixz-9999.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit toolchain-funcs flag-o-matic +inherit toolchain-funcs flag-o-matic autotools DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz" @@ -16,32 +16,34 @@ 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} )" + static? ( ${LIB_DEPEND} ) + app-text/asciidoc" if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/vasi/pixz.git" - inherit git-2 + EGIT_REPO_URI="https://github.com/vasi/${PN}.git" + inherit git-r3 KEYWORDS="" else - SRC_URI="https://github.com/vasi/${PN}/archive/v${PV}.zip -> ${P}.zip" + SRC_URI="https://github.com/vasi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~x86" - DEPEND="${DEPEND} app-text/asciidoc" fi +src_prepare() { + eautoreconf +} + src_configure() { use static && append-ldflags -static + append-flags -std=gnu99 + econf } src_compile() { - if [[ ${PV} == "9999" ]] ; then - emake CC="$(tc-getCC)" OPT="" all pixz.1 - else - emake CC="$(tc-getCC)" OPT="" all - fi + emake CC="$(tc-getCC)" OPT="" } src_install() { - dobin pixz - doman pixz.1 - dodoc README TODO + dobin src/pixz + doman src/pixz.1 + dodoc README.md TODO } |