diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-arch/lzma/lzma-9.20-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-arch/lzma/lzma-9.20-r1.ebuild')
-rw-r--r-- | app-arch/lzma/lzma-9.20-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
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..80cac224e6b3 --- /dev/null +++ b/app-arch/lzma/lzma-9.20-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 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="https://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" +} |