Gentoo Archives: gentoo-commits

From: "Serkan Kaba (serkan)" <serkan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/rar: ChangeLog rar-4.0.1.ebuild
Date: Sat, 02 Jul 2011 18:07:11
Message-Id: 20110702180701.BB87F2004B@flycatcher.gentoo.org
1 serkan 11/07/02 18:07:01
2
3 Modified: ChangeLog
4 Added: rar-4.0.1.ebuild
5 Log:
6 Version bump to fix bug #373833 reported by Vasileios Lourdas <bugzilla@×××××××.name>
7
8 (Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.70 app-arch/rar/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rar/ChangeLog?rev=1.70&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rar/ChangeLog?rev=1.70&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rar/ChangeLog?r1=1.69&r2=1.70
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v
20 retrieving revision 1.69
21 retrieving revision 1.70
22 diff -u -r1.69 -r1.70
23 --- ChangeLog 9 Mar 2011 21:06:00 -0000 1.69
24 +++ ChangeLog 2 Jul 2011 18:07:01 -0000 1.70
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-arch/rar
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.69 2011/03/09 21:06:00 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.70 2011/07/02 18:07:01 serkan Exp $
30 +
31 +*rar-4.0.1 (02 Jul 2011)
32 +
33 + 02 Jul 2011; Serkan Kaba <serkan@g.o> +rar-4.0.1.ebuild:
34 + Version bump to fix bug #373833 reported by Vasileios Lourdas
35 + <bugzilla@×××××××.name>
36
37 *rar-4.0.0 (09 Mar 2011)
38
39
40
41
42 1.1 app-arch/rar/rar-4.0.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rar/rar-4.0.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rar/rar-4.0.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rar-4.0.1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-4.0.1.ebuild,v 1.1 2011/07/02 18:07:01 serkan Exp $
52
53 DESCRIPTION="RAR compressor/uncompressor"
54 HOMEPAGE="http://www.rarsoft.com/"
55 URI_x86="http://www.rarlab.com/rar/rarlinux-${PV}.tar.gz"
56 URI_amd64="http://www.rarlab.com/rar/rarlinux-x64-${PV}.tar.gz"
57 URI_w64="http://www.rarlab.com/rar/winrar-x64-${PV//.}.exe"
58 SRC_URI="x86? ( ${URI_x86} )
59 amd64? ( ${URI_amd64} )
60 all_sfx? (
61 ${URI_x86}
62 ${URI_amd64}
63 ${URI_w64}
64 )"
65
66 LICENSE="RAR"
67 SLOT="0"
68 KEYWORDS="-* ~amd64 ~x86"
69 IUSE="all_sfx static"
70
71 DEPEND="all_sfx? ( app-arch/unrar )"
72 RDEPEND="sys-libs/glibc"
73
74 S=${WORKDIR}/${PN}
75
76 QA_DT_HASH="opt/rar/default.sfx
77 opt/rar/default-elf32.sfx
78 opt/rar/default-elf64.sfx
79 opt/rar/default-win32.sfx
80 opt/rar/default-win64.sfx
81 opt/rar/WinCon.SFX
82 opt/rar/WinCon64.SFX
83 opt/rar/Zip.SFX
84 opt/rar/Zip64.SFX
85 opt/rar/unrar
86 opt/rar/rar"
87 QA_PRESTRIPPED=${QA_DT_HASH}
88
89 src_unpack() {
90 use x86 && unpack ${URI_x86##*/}
91 use amd64 && unpack ${URI_amd64##*/}
92 rm -f "${S}"/license.txt
93 if use all_sfx ; then
94 mkdir sfx
95 cd sfx
96 unpack ${URI_x86##*/}
97 mv rar/default.sfx default-elf32.sfx || die
98 unpack ${URI_amd64##*/}
99 mv rar/default.sfx default-elf64.sfx || die
100 ln -s "${DISTDIR}"/${URI_w64##*/} w64.rar
101 unpack ./w64.rar
102 mv Default.SFX default-win32.sfx || die
103 mv Default64.SFX default-win64.sfx || die
104 fi
105 }
106
107 src_compile() { :; }
108
109 src_install() {
110 exeinto /opt/rar
111 doexe rar unrar || die
112 use static && { newexe rar_static rar || die ; }
113
114 dodir /opt/bin
115 dosym ../rar/rar /opt/bin/rar || die
116 dosym ../rar/unrar /opt/bin/unrar || die
117
118 insinto /opt/rar
119 if use all_sfx ; then
120 doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die
121 else
122 doins default.sfx || die
123 fi
124 doins rarfiles.lst || die
125 dodoc *.txt
126 }