diff options
author | Hans Fernhout <hfern@fernhout.info> | 2020-05-17 08:02:33 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-05-17 11:48:35 -0400 |
commit | 03ccd319d0d2d8fa7609a3604e42bb73716e30e2 (patch) | |
tree | 5222a3a5b645999831944c451157463b6837a7a9 /app-arch/lzma/lzma-19.00.ebuild | |
parent | dev-python/pytools: Drop to m-needed (diff) | |
download | gentoo-03ccd319d0d2d8fa7609a3604e42bb73716e30e2.tar.gz gentoo-03ccd319d0d2d8fa7609a3604e42bb73716e30e2.tar.bz2 gentoo-03ccd319d0d2d8fa7609a3604e42bb73716e30e2.zip |
app-arch/lzma: verion bump to 19.00
Package seems up for grabs; added myself as proxy maintainer
Closes: https://bugs.gentoo.org/708602
Signed-off-by: Johannes Willem Fernhout <hfern@fernhout.info>
Closes: https://github.com/gentoo/gentoo/pull/15845
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'app-arch/lzma/lzma-19.00.ebuild')
-rw-r--r-- | app-arch/lzma/lzma-19.00.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-arch/lzma/lzma-19.00.ebuild b/app-arch/lzma/lzma-19.00.ebuild new file mode 100644 index 000000000000..491acc885393 --- /dev/null +++ b/app-arch/lzma/lzma-19.00.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_P="${PN}${PV//.}" +DESCRIPTION="LZMA Stream Compressor from the SDK" +HOMEPAGE="https://www.7-zip.org/sdk.html" +SRC_URI="mirror://sourceforge/sevenzip/${MY_P}.7z -> ${P}.7z" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc" + +BDEPEND="app-arch/p7zip" + +S=${WORKDIR} + +src_compile() { + cd CPP/7zip/Bundles/LzmaCon || die + emake -f makefile.gcc \ + CXX="$(tc-getCXX) ${CXXFLAGS} ${CPPFLAGS}" \ + CXX_C="$(tc-getCC) ${CFLAGS} ${CPPFLAGS}" +} + +src_install() { + newbin CPP/7zip/Bundles/LzmaCon/lzma lzmacon + dodoc DOC/lzma.txt DOC/lzma-history.txt + use doc && dodoc DOC/7zC.txt \ + DOC/7zFormat.txt \ + DOC/Methods.txt \ + DOC/lzma-sdk.txt \ + DOC/lzma-specification.txt +} + +pkg_postinst() { + einfo "The lzma binary is now 'lzmacon' to avoid xz-utils conflicts #218459" +} |