forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package seems up for grabs; added myself as proxy maintainer Closes: https://bugs.gentoo.org/708602 Signed-off-by: Johannes Willem Fernhout <[email protected]> Closes: gentoo#15845 Signed-off-by: Aaron Bauman <[email protected]>
- Loading branch information
1 parent
6844c34
commit 03ccd31
Showing
3 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST lzma-19.00.7z 1082692 BLAKE2B 88aca3f3225d589c9b1b0fbf4c196db8e6e8df362f926736a45e1f80d302c132b25537203b0a903da9de5f3b0398b10901f126cf6905fcbdf0a57ee894e74b6d SHA512 60532483249d86960d5c481dc88ebeafabb7e435afb6188bc26f38177b8534ef3da83317d6920d99103d4f10a8dcdb624489ea5ddad8e0c8732bab1bb4ebd7eb | ||
DIST lzma-9.20.tar.bz2 534077 BLAKE2B c1be526d6fb9f68da10b654940a92420b6c708c7aefe213394cf1c7650b3d65c4f54d3ca0663e52be13aa9f996ff9cc87262fac8b76dd0654e839cefc073c374 SHA512 1c495530834107430a675fb48c006093edc301ec7a2c2f273efd62ff260f3056503bb2c3ddef63e82f5ff04b1347381055cf6cacd59eee9d451c4d841c13cd35 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<!-- maintainer-needed --> | ||
<upstream> | ||
<remote-id type="sourceforge">sevenzip</remote-id> | ||
</upstream> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Hans Fernhout</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="sourceforge">sevenzip</remote-id> | ||
</upstream> | ||
</pkgmetadata> |