diff options
author | 2016-04-28 07:42:36 +0000 | |
---|---|---|
committer | 2016-04-28 08:02:18 +0000 | |
commit | fe50eed65db2e462989c477ec8463099872b33bf (patch) | |
tree | 953c7b86faa3c270bbe3ade24b3fa9d9897db1ae /app-arch/lzma/lzma-9.20-r1.ebuild | |
parent | media-sound/kradio: EAPI 6, add libav use flag (diff) | |
download | gentoo-fe50eed65db2e462989c477ec8463099872b33bf.tar.gz gentoo-fe50eed65db2e462989c477ec8463099872b33bf.tar.bz2 gentoo-fe50eed65db2e462989c477ec8463099872b33bf.zip |
app-arch/lzma: EAPI 6 bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-arch/lzma/lzma-9.20-r1.ebuild')
-rw-r--r-- | app-arch/lzma/lzma-9.20-r1.ebuild | 36 |
1 files changed, 36 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..51540f944cbd --- /dev/null +++ b/app-arch/lzma/lzma-9.20-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +} |