diff options
author | Serkan Kaba <serkan@gentoo.org> | 2012-06-02 22:12:10 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2012-06-02 22:12:10 +0000 |
commit | 1aad5f3b20990bf5448c404c243f8202a93abf08 (patch) | |
tree | 2ebe586030961c69e57fcc50006207df46f40e10 /app-arch/rar | |
parent | Pull in correct SLOT of media-libs/libpng for headers and symlink. (diff) | |
download | gentoo-2-1aad5f3b20990bf5448c404c243f8202a93abf08.tar.gz gentoo-2-1aad5f3b20990bf5448c404c243f8202a93abf08.tar.bz2 gentoo-2-1aad5f3b20990bf5448c404c243f8202a93abf08.zip |
Bump to beta version.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/rar')
-rw-r--r-- | app-arch/rar/ChangeLog | 8 | ||||
-rw-r--r-- | app-arch/rar/metadata.xml | 5 | ||||
-rw-r--r-- | app-arch/rar/rar-4.2.0_beta3.ebuild | 79 |
3 files changed, 91 insertions, 1 deletions
diff --git a/app-arch/rar/ChangeLog b/app-arch/rar/ChangeLog index 0d57849933da..0bf01e12565e 100644 --- a/app-arch/rar/ChangeLog +++ b/app-arch/rar/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-arch/rar # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.81 2012/05/23 10:37:56 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.82 2012/06/02 22:12:10 serkan Exp $ + +*rar-4.2.0_beta3 (02 Jun 2012) + + 02 Jun 2012; Serkan Kaba <serkan@gentoo.org> +rar-4.2.0_beta3.ebuild, + metadata.xml: + Bump to beta version. 23 May 2012; Agostino Sarubbo <ago@gentoo.org> rar-4.1.1.ebuild: Stable for amd64, wrt bug #417149 diff --git a/app-arch/rar/metadata.xml b/app-arch/rar/metadata.xml index 9f388db16c09..381e022bcac5 100644 --- a/app-arch/rar/metadata.xml +++ b/app-arch/rar/metadata.xml @@ -5,6 +5,11 @@ <email>jdhore@gentoo.org</email> <name>Jeff Horelick</name> </maintainer> +<maintainer> + <email>serkan@gentoo.org</email> + <name>Serkan Kaba</name> + <description>Beta maintainer</description> +</maintainer> <use> <flag name='all_sfx'> Install all SFX (Self-Extracting) files rather than just the native diff --git a/app-arch/rar/rar-4.2.0_beta3.ebuild b/app-arch/rar/rar-4.2.0_beta3.ebuild new file mode 100644 index 000000000000..95e53a31987c --- /dev/null +++ b/app-arch/rar/rar-4.2.0_beta3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-4.2.0_beta3.ebuild,v 1.1 2012/06/02 22:12:10 serkan Exp $ +EAPI=4 +MY_PV=4.2.b3 +DESCRIPTION="RAR compressor/uncompressor" +HOMEPAGE="http://www.rarsoft.com/" +URI_x86="http://www.rarlab.com/rar/rarlinux-${MY_PV}.tar.gz" +URI_amd64="http://www.rarlab.com/rar/rarlinux-x64-${MY_PV}.tar.gz" +URI_w64="http://www.rarlab.com/rar/winrar-x64-${MY_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 +} |