diff options
author | Jeff Horelick <jdhore@gentoo.org> | 2015-03-14 19:01:09 +0000 |
---|---|---|
committer | Jeff Horelick <jdhore@gentoo.org> | 2015-03-14 19:01:09 +0000 |
commit | c1b35bf76d5a8b30cd943fbb464a1a402192b61d (patch) | |
tree | f1b217d4a389313e7efa839ca686f30cf3c8b853 /app-arch | |
parent | Version bump (diff) | |
download | gentoo-2-c1b35bf76d5a8b30cd943fbb464a1a402192b61d.tar.gz gentoo-2-c1b35bf76d5a8b30cd943fbb464a1a402192b61d.tar.bz2 gentoo-2-c1b35bf76d5a8b30cd943fbb464a1a402192b61d.zip |
Version bump
(Portage version: 2.2.18/cvs/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/rar/ChangeLog | 9 | ||||
-rw-r--r-- | app-arch/rar/rar-5.2.1.ebuild | 79 |
2 files changed, 86 insertions, 2 deletions
diff --git a/app-arch/rar/ChangeLog b/app-arch/rar/ChangeLog index 17ad2cbe63ac..2ac4e45b66f4 100644 --- a/app-arch/rar/ChangeLog +++ b/app-arch/rar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-arch/rar -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.90 2014/08/29 08:50:37 jdhore Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.91 2015/03/14 19:01:09 jdhore Exp $ + +*rar-5.2.1 (14 Mar 2015) + + 14 Mar 2015; Jeff Horelick <jdhore@gentoo.org> +rar-5.2.1.ebuild: + Version bump *rar-5.1.0 (29 Aug 2014) diff --git a/app-arch/rar/rar-5.2.1.ebuild b/app-arch/rar/rar-5.2.1.ebuild new file mode 100644 index 000000000000..36ab01a9aa23 --- /dev/null +++ b/app-arch/rar/rar-5.2.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-5.2.1.ebuild,v 1.1 2015/03/14 19:01:09 jdhore Exp $ +EAPI=4 +MY_PV="${PV/0_beta/b}" +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_FLAGS_IGNORED="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_FLAGS_IGNORED} + +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 +} |