diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-26 23:02:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-12-26 23:02:23 +0000 |
commit | ea410dc123ef79504cf5bbd3d9294159a70e5182 (patch) | |
tree | 4d50abcd4b8b9bb122b95f17d053b9673ddbb2fc /app-arch/rar | |
parent | old (diff) | |
download | historical-ea410dc123ef79504cf5bbd3d9294159a70e5182.tar.gz historical-ea410dc123ef79504cf5bbd3d9294159a70e5182.tar.bz2 historical-ea410dc123ef79504cf5bbd3d9294159a70e5182.zip |
Add USE=static and USE=all_sfx (for installing all SFX files).
Package-Manager: portage-2.2.0_alpha10/cvs/Linux x86_64
Diffstat (limited to 'app-arch/rar')
-rw-r--r-- | app-arch/rar/ChangeLog | 8 | ||||
-rw-r--r-- | app-arch/rar/Manifest | 12 | ||||
-rw-r--r-- | app-arch/rar/metadata.xml | 6 | ||||
-rw-r--r-- | app-arch/rar/rar-3.9.3-r1.ebuild | 78 |
4 files changed, 95 insertions, 9 deletions
diff --git a/app-arch/rar/ChangeLog b/app-arch/rar/ChangeLog index a0ea3c1b5b04..b0157085ee06 100644 --- a/app-arch/rar/ChangeLog +++ b/app-arch/rar/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-arch/rar # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.64 2010/10/05 09:48:44 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.65 2010/12/26 23:02:23 vapier Exp $ + +*rar-3.9.3-r1 (26 Dec 2010) + + 26 Dec 2010; Mike Frysinger <vapier@gentoo.org> +rar-3.9.3-r1.ebuild, + metadata.xml: + Add USE=static and USE=all_sfx (for installing all SFX files). *rar-3.9.3 (05 Oct 2010) diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest index 4189363d8325..05eb1d53b3e8 100644 --- a/app-arch/rar/Manifest +++ b/app-arch/rar/Manifest @@ -1,14 +1,10 @@ DIST rarlinux-3.8.0.tar.gz 791915 RMD160 d2d706104d8ae90ed8ebf38f007d4017652f605b SHA1 352a1601d0b2dc114a1deaca482ccab41cf09609 SHA256 d81a172ebe982254ef913f251c23daf94af15508cb38fb5430c557f6f3718b0f -DIST rarlinux-3.9.0.tar.gz 831656 RMD160 d46d01b537b3e80f818c16d2b7b7b0a64b5de048 SHA1 4c1bfcb38df987a23a45483039b5b313fef1fb80 SHA256 b80936dc6e09ca57cfe6a98bfca32ac379b96cf475879277fc8d4d15ebdd84a9 -DIST rarlinux-3.9.2.tar.gz 833777 RMD160 d106f34981e02c1659b899ec5a6e456ce4fe7d35 SHA1 515da82f20d0834a47e716b734524cf206cfb8c8 SHA256 71997f9cf3325797103bab7927e073d62680432c1177bb176f8dc492650c3a31 DIST rarlinux-3.9.3.tar.gz 833828 RMD160 e6b80e045aa101da82a5776a4bb0be3e33e8b0f8 SHA1 7dee8a086e663ff3a79d99a22f9ce910e49de251 SHA256 55122286a2a72ccc2b866c5a0e415c05638dfe99cebb5f2ef036784387a8eff8 DIST rarlinux-x64-3.8.0.tar.gz 821986 RMD160 e4347244c9fe188c4a225f759e77461fe691884f SHA1 103cf8b508feda5f7cadd98bbafde6c8ec134a88 SHA256 faeb1c1f12151a3bc0aa2826ddcc6eef96ddf67cc4cd4fb6b266a788bc6960c6 -DIST rarlinux-x64-3.9.0.tar.gz 869180 RMD160 599b0bbedfc3b98cea9d2a76a439df5cefb8d7d7 SHA1 0337b0ffd1a5985778463bed74a0bed15ffa1970 SHA256 927de1c868c944a3b0f6cdb22843a75c0884ebbb73eb5009c64550d67d215d09 -DIST rarlinux-x64-3.9.2.tar.gz 870117 RMD160 ae5c329f94a32338a0f019d456b67b746b07fd34 SHA1 bfac9ac2da8d91aa8ea3bf1d33ea67b8a2542d66 SHA256 f65bd34da100d4367d162918ebf517c5ecb2bfa47f045030a265da9076f14df0 DIST rarlinux-x64-3.9.3.tar.gz 870541 RMD160 571d867509f43b06fb4fa12ddd416b55e05b8ea3 SHA1 eb1e891afd9fdbe08b4246a751f3fb2d606b2b24 SHA256 d4abf243420acb570f8a422812c7e1408a4788832eabc3254fa5a256ea17e3b8 +DIST winrar-x64-393.exe 1531593 RMD160 e97ea1edcdaecbda8ab255e82eaad04c27051495 SHA1 289a882f79ad36b3b10b0e2d9e4d8747f6228680 SHA256 5c8638fcb844252de93afbc2d94c3156960e6957907d8e357fe3abd053a36d51 EBUILD rar-3.8.0.ebuild 917 RMD160 8bfcd2bc7a42164f13794d3a4ddb0ca55bb7556b SHA1 b6291214b6eb9bea9bb92d7d4ea6508d83846f89 SHA256 ad5d5bccfd115f3e184af7360b3b280e7fdee4dac08657ebf3db11f8f452438a -EBUILD rar-3.9.0.ebuild 1018 RMD160 529386767f9910f3ec118990d1a36c2199d85002 SHA1 defb1f794437adee9c503baf452fb3b66a64f813 SHA256 c90ed5a29d34bdbbd7f4b211d6a6c66a2fa4033bca5d6044d6cd0d984dd29745 -EBUILD rar-3.9.2.ebuild 964 RMD160 82f6d9ff03639344de90dba8ade3da47603dc7cb SHA1 7f93fd62112dced7dcf195fe1ee1e26aa1d14fbc SHA256 506f5288d02682bee78f9429c6b9ea8d6881eaf4da3ef3fa7173280c8f457809 +EBUILD rar-3.9.3-r1.ebuild 1865 RMD160 680e6b61fff0de1f1821ca0a624cfd3d40d8b10b SHA1 2522d406a9a433cb022251c0dbaae4a59ba0c5fb SHA256 6d4435e0cfc31bb72f94129b6031102097afb795e31847d0ca5a300790173c4d EBUILD rar-3.9.3.ebuild 958 RMD160 4ba7cc5699c8e47c2791a51c7e6ce9c461fe80cd SHA1 49abbcddbf066605c7e049d024c9e48d842805ec SHA256 3f0477d091968556749fbe6f5f94fa32e171081581f561e74bcca6c6e0e3c9c9 -MISC ChangeLog 8151 RMD160 26c3a3b70dcfd31eb902fc5255e335afc3cbb67e SHA1 1417d8d9108764203b2ff3b6a8a30a5e1bd6e286 SHA256 805459eaa69bfa0c666b0280c643c312281ea50323e5f52c745539b5fea5e4f7 -MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a +MISC ChangeLog 8337 RMD160 53db6c0c308f9a7256538544b5766af834155a45 SHA1 3ba51a51bfef755e17c99c1fc150bfd4360dc18a SHA256 b79e1f006cdb7ad0acd8b3ea3c6bca545f2781d32064f8b369acc5cb105cabfd +MISC metadata.xml 408 RMD160 4beee0cdd29fd8ad0d0c08460d5c05bd1083535f SHA1 6c106d8af784cfc3be114ec174b8b1a343723940 SHA256 02a2514cfaea56b79d006b128b38f0dbf23a46faaffcef7f72c53119ddf8e0bb diff --git a/app-arch/rar/metadata.xml b/app-arch/rar/metadata.xml index 54494c4bb860..5fa64587dcbe 100644 --- a/app-arch/rar/metadata.xml +++ b/app-arch/rar/metadata.xml @@ -5,4 +5,10 @@ <maintainer> <email>maintainer-needed@gentoo.org</email> </maintainer> +<use> + <flag name='all_sfx'> + Install all SFX (Self-Extracting) files rather than just the native + format (allows creation of Windows EXEs on Linux ELF systems) + </flag> +</use> </pkgmetadata> diff --git a/app-arch/rar/rar-3.9.3-r1.ebuild b/app-arch/rar/rar-3.9.3-r1.ebuild new file mode 100644 index 000000000000..ef4293d72aaf --- /dev/null +++ b/app-arch/rar/rar-3.9.3-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.9.3-r1.ebuild,v 1.1 2010/12/26 23:02:23 vapier Exp $ + +DESCRIPTION="RAR compressor/uncompressor" +HOMEPAGE="http://www.rarsoft.com/" +URI_x86="http://www.rarlab.com/rar/rarlinux-${PV}.tar.gz" +URI_amd64="http://www.rarlab.com/rar/rarlinux-x64-${PV}.tar.gz" +URI_w64="http://www.rarlab.com/rar/winrar-x64-${PV//.}.exe" +SRC_URI="x86? ( ${URI_x86} ) + amd64? ( ${URI_amd64} ) + all_sfx? ( + ${URI_x86} + ${URI_amd64} + ${URI_w64} + )" + +LICENSE="RAR" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="all_sfx static" + +DEPEND="all_sfx? ( app-arch/unrar )" +RDEPEND="sys-libs/glibc" + +S=${WORKDIR}/${PN} + +QA_DT_HASH="opt/rar/default.sfx + opt/rar/default-elf32.sfx + opt/rar/default-elf64.sfx + opt/rar/default-win32.sfx + opt/rar/default-win64.sfx + opt/rar/WinCon.SFX + opt/rar/WinCon64.SFX + opt/rar/Zip.SFX + opt/rar/Zip64.SFX + opt/rar/unrar + opt/rar/rar" +QA_PRESTRIPPED=${QA_DT_HASH} + +src_unpack() { + use x86 && unpack ${URI_x86##*/} + use amd64 && unpack ${URI_amd64##*/} + rm -f "${S}"/license.txt + if use all_sfx ; then + mkdir sfx + cd sfx + unpack ${URI_x86##*/} + mv rar/default.sfx default-elf32.sfx || die + unpack ${URI_amd64##*/} + mv rar/default.sfx default-elf64.sfx || die + ln -s "${DISTDIR}"/${URI_w64##*/} w64.rar + unpack ./w64.rar + mv Default.SFX default-win32.sfx || die + mv Default64.SFX default-win64.sfx || die + fi +} + +src_compile() { :; } + +src_install() { + exeinto /opt/rar + doexe rar unrar || die + use static && { newexe rar_static rar || die ; } + + dodir /opt/bin + dosym ../rar/rar /opt/bin/rar || die + dosym ../rar/unrar /opt/bin/unrar || die + + insinto /opt/rar + if use all_sfx ; then + doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die + else + doins default.sfx || die + fi + doins rarfiles.lst || die + dodoc *.txt +} |