From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-arch/lzma/lzma-9.20-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 app-arch/lzma/lzma-9.20-r1.ebuild (limited to 'app-arch/lzma/lzma-9.20-r1.ebuild') diff --git a/app-arch/lzma/lzma-9.20-r1.ebuild b/app-arch/lzma/lzma-9.20-r1.ebuild new file mode 100644 index 000000000000..1b40d09b37aa --- /dev/null +++ b/app-arch/lzma/lzma-9.20-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +MY_P="${PN}${PV//.}" +DESCRIPTION="LZMA Stream Compressor from the SDK" +HOMEPAGE="http://www.7-zip.org/sdk.html" +SRC_URI="mirror://sourceforge/sevenzip/${MY_P}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc" + +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 || die + dodoc lzma.txt history.txt + use doc && dodoc 7zC.txt 7zFormat.txt Methods.txt +} + +pkg_postinst() { + einfo "The lzma binary is now 'lzmacon' to avoid xz-utils conflicts #218459" +} -- cgit v1.2.3