diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2007-08-01 23:02:10 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2007-08-01 23:02:10 +0000 |
commit | 24e15e8ed320b4f7f3de959580379bfd12807327 (patch) | |
tree | e848f06b228a16aff23e2d3e26637dd04b8e2ba6 /app-arch | |
parent | Fix kernel_is syntax. (diff) | |
download | historical-24e15e8ed320b4f7f3de959580379bfd12807327.tar.gz historical-24e15e8ed320b4f7f3de959580379bfd12807327.tar.bz2 historical-24e15e8ed320b4f7f3de959580379bfd12807327.zip |
version bump, closes #187308, introduces lzma binary.
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/p7zip/ChangeLog | 7 | ||||
-rw-r--r-- | app-arch/p7zip/Manifest | 16 | ||||
-rw-r--r-- | app-arch/p7zip/files/digest-p7zip-4.51 | 3 | ||||
-rw-r--r-- | app-arch/p7zip/p7zip-4.51.ebuild | 78 |
4 files changed, 99 insertions, 5 deletions
diff --git a/app-arch/p7zip/ChangeLog b/app-arch/p7zip/ChangeLog index adf75b5f9f67..8c06644312c1 100644 --- a/app-arch/p7zip/ChangeLog +++ b/app-arch/p7zip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-arch/p7zip # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/ChangeLog,v 1.66 2007/08/01 10:59:30 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/ChangeLog,v 1.67 2007/08/01 23:02:10 radek Exp $ + +*p7zip-4.51 (01 Aug 2007) + + 01 Aug 2007; Radoslaw Stachowiak <radek@gentoo.org> +p7zip-4.51.ebuild: + version bump, closes #187308, introduces lzma binary. 01 Aug 2007; Raúl Porcel <armin76@gentoo.org> p7zip-4.48.ebuild: x86 stable diff --git a/app-arch/p7zip/Manifest b/app-arch/p7zip/Manifest index 0033775837b4..22b59db534c1 100644 --- a/app-arch/p7zip/Manifest +++ b/app-arch/p7zip/Manifest @@ -5,6 +5,7 @@ SHA256 28d181cd1c43628da0adb485e20f270461b6cf8d743d2187a3380f7799fbc2d5 files/p7 DIST p7zip_4.44_src_all.tar.bz2 1518820 RMD160 a04f13c55ce21781c463debc578fd4819f171adf SHA1 474e2479a7ceb19fcf75e61784e2c4ecf2d2f7e7 SHA256 cb87304f682e7176ab95ce73d3ce2b7b65384e051272fc34ef934e2427bbd3af DIST p7zip_4.45_src_all.tar.bz2 1458299 RMD160 23677f41e1a2c1d8c254073bc17ea40ea90851f1 SHA1 06bdaf755e288539da4efa399fc143648db57acd SHA256 3a2902d532a7673113609232b46c868e6c55dbce0e7ef73d8ef944fb295c7984 DIST p7zip_4.48_src_all.tar.bz2 1487947 RMD160 2caae333dea746221cb074dc976444f9de5d5daf SHA1 d800f3e7abaffc62d91fd0320eb588a53dafd17c SHA256 33a4e52d9237c38b3d3f695573c2698f01b3e553ba506176cb98bd0a77d5d413 +DIST p7zip_4.51_src_all.tar.bz2 1483484 RMD160 af57615cc9d951516891a3f52b169f3d7c262650 SHA1 e3708dc69ec44dba554ab15d0cacbc226eae9420 SHA256 49926b91b5577a1ebe338edb38209eb537192966972f209e71526160e0e1f50b EBUILD p7zip-4.44.ebuild 2271 RMD160 7c302ce78c67a5ce49f459ac27be9df16a5f223a SHA1 d1a5b2879bccffe199f1548b774922cd779c86e5 SHA256 5888820bf4923baf16df561cdbe353f46dca505c4ed86a7cb145720a030060fd MD5 d2675a85dbe4d3ed0fc7e8549f922ed7 p7zip-4.44.ebuild 2271 RMD160 7c302ce78c67a5ce49f459ac27be9df16a5f223a p7zip-4.44.ebuild 2271 @@ -17,10 +18,14 @@ EBUILD p7zip-4.48.ebuild 2263 RMD160 e1acf1fb5ae5b8f28a230cebe9de957e9dbcdc93 SH MD5 5b0d7dc40a53bd9f2ebe840e30636134 p7zip-4.48.ebuild 2263 RMD160 e1acf1fb5ae5b8f28a230cebe9de957e9dbcdc93 p7zip-4.48.ebuild 2263 SHA256 9d0a5dad18c0b50186d735e979a9bd3fce9bcb89d593367a210e5bf5f211f987 p7zip-4.48.ebuild 2263 -MISC ChangeLog 8568 RMD160 7862c7d0d6f1d5985ea5f877032176a6aaef14ec SHA1 737e3678a5b5e8f2c6fe88d05a33660e626bb76e SHA256 7ace874f1a68e2b90c44c5a8373fa27010bf567dc9e9c3995c793ddea5e58707 -MD5 2e6cec5e4051b01d6ff55062f8168bf7 ChangeLog 8568 -RMD160 7862c7d0d6f1d5985ea5f877032176a6aaef14ec ChangeLog 8568 -SHA256 7ace874f1a68e2b90c44c5a8373fa27010bf567dc9e9c3995c793ddea5e58707 ChangeLog 8568 +EBUILD p7zip-4.51.ebuild 2407 RMD160 3c9084d3a9af19050e80aab04dc47764687f50c0 SHA1 ccefc5feac59c4bd9d036016f5f8dcf48997808e SHA256 cc7d0af3771c1fd98d7ca05982760d976077dfb9330c203a94e7a0e6ba4d70e8 +MD5 5ab61cc2d6724fc6a14ebd27e03d4ef9 p7zip-4.51.ebuild 2407 +RMD160 3c9084d3a9af19050e80aab04dc47764687f50c0 p7zip-4.51.ebuild 2407 +SHA256 cc7d0af3771c1fd98d7ca05982760d976077dfb9330c203a94e7a0e6ba4d70e8 p7zip-4.51.ebuild 2407 +MISC ChangeLog 8724 RMD160 46e0a4fc1013f3885a8a859888dec8a5ac560be7 SHA1 9424f774d91232b37ae07676b471bb28804554cf SHA256 cba49ac4aeb98609942eddc78635e315328cb4cc6265eb6c4798f7f7cd4725a9 +MD5 78744851c319afb0838681bcf9855ef9 ChangeLog 8724 +RMD160 46e0a4fc1013f3885a8a859888dec8a5ac560be7 ChangeLog 8724 +SHA256 cba49ac4aeb98609942eddc78635e315328cb4cc6265eb6c4798f7f7cd4725a9 ChangeLog 8724 MISC metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c SHA1 a1e6cd353cec0a45b588c9995fb801cb82792457 SHA256 1d86ed32a423a4e8e6af86272561dd598d9ce6d5bb55eb6c810b11a6c3383c6a MD5 66daf69a44c4ec8add00f66d8ee0661d metadata.xml 221 RMD160 c3fe86fc44653637aea4680b20cf4a3919b7540c metadata.xml 221 @@ -34,3 +39,6 @@ SHA256 8b6742cca252f6d84ed59e8be89f8ba737877b1fbd8483df8766f004c057fec7 files/di MD5 e147a7ffe4470158c62f3d918a98bccd files/digest-p7zip-4.48 262 RMD160 612b6e42545476e96ffbf894bd125f369652b1c3 files/digest-p7zip-4.48 262 SHA256 85a3ad83cb0cfedfcdabea48e7946badd3a1231d3f61b32e90e7acfe919a9b46 files/digest-p7zip-4.48 262 +MD5 a6eef66ae11e7ec939a9f8d8536050e5 files/digest-p7zip-4.51 262 +RMD160 d4d9aef4732ec091e9192f3ad09714c4af1ed2f4 files/digest-p7zip-4.51 262 +SHA256 2c2a369ed822a81392a2e1ec82933030adabf110ba12724cc157d14da81170fb files/digest-p7zip-4.51 262 diff --git a/app-arch/p7zip/files/digest-p7zip-4.51 b/app-arch/p7zip/files/digest-p7zip-4.51 new file mode 100644 index 000000000000..5aa9354eb0b3 --- /dev/null +++ b/app-arch/p7zip/files/digest-p7zip-4.51 @@ -0,0 +1,3 @@ +MD5 d7f310fdb530cc1259d7b7ca28162747 p7zip_4.51_src_all.tar.bz2 1483484 +RMD160 af57615cc9d951516891a3f52b169f3d7c262650 p7zip_4.51_src_all.tar.bz2 1483484 +SHA256 49926b91b5577a1ebe338edb38209eb537192966972f209e71526160e0e1f50b p7zip_4.51_src_all.tar.bz2 1483484 diff --git a/app-arch/p7zip/p7zip-4.51.ebuild b/app-arch/p7zip/p7zip-4.51.ebuild new file mode 100644 index 000000000000..ddca6ad3acae --- /dev/null +++ b/app-arch/p7zip/p7zip-4.51.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-4.51.ebuild,v 1.1 2007/08/01 23:02:10 radek Exp $ + +inherit eutils toolchain-funcs multilib + +DESCRIPTION="Port of 7-Zip archiver for Unix" +HOMEPAGE="http://p7zip.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="static doc" + +DEPEND="!app-arch/lzma" + +S=${WORKDIR}/${PN}_${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "/^CXX=/s:g++:$(tc-getCXX):" \ + -e "/^CC=/s:gcc:$(tc-getCC):" \ + -e "s:OPTFLAGS=-O:OPTFLAGS=${CXXFLAGS}:" \ + -e 's:-s ::' \ + makefile* || die "changing makefiles" + + if use amd64; then + ewarn "Using suboptimal -fPIC upstream makefile due to amd64 being detected. See #126722" + cp -f makefile.linux_amd64 makefile.machine + elif use ppc-macos; then + # Mac OS X needs this special makefile, because it has a non-GNU linker + cp -f makefile.macosx makefile.machine + elif use x86-fbsd; then + # FreeBSD needs this special makefile, because it hasn't -ldl + sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine + fi + use static && sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine +} + +src_compile() { + emake all3 || die "compilation error" + cd CPP/7zip/Compress/LZMA_Alone + emake || die "LZMA_Alone compilation error" +} + +src_install() { + # this wrappers can not be symlinks, p7zip should be called with full path + make_wrapper 7zr "/usr/lib/${PN}/7zr" + make_wrapper 7za "/usr/lib/${PN}/7za" + make_wrapper 7z "/usr/lib/${PN}/7z" + + dobin ${FILESDIR}/p7zip + + dobin CPP/7zip/Compress/LZMA_Alone/lzma + + # gzip introduced in 4.42, so beware :) + # mv needed just as rename, because dobin installs using old name + mv contrib/gzip-like_CLI_wrapper_for_7z/p7zip contrib/gzip-like_CLI_wrapper_for_7z/7zg + dobin contrib/gzip-like_CLI_wrapper_for_7z/7zg + + exeinto /usr/$(get_libdir)/${PN} + doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx || die "doexe bins" + exeinto /usr/$(get_libdir)/${PN}/Codecs + doexe bin/Codecs/* || die "doexe Codecs" + exeinto /usr/$(get_libdir)/${PN} + doexe bin/*.so || die "doexe *.so files" + + doman man1/7z.1 man1/7za.1 man1/7zr.1 + dodoc ChangeLog README TODO + + if use doc ; then + dodoc DOCS/*.txt + dohtml -r DOCS/MANUAL/* + fi +} |