# ChangeLog for app-arch/rar
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.40 2006/10/20 17:45:38 betelgeuse Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.41 2007/02/12 13:13:18 vapier Exp $
+
+*rar-3.7.0_beta1 (12 Feb 2007)
+
+ 12 Feb 2007; Mike Frysinger <vapier@gentoo.org> +rar-3.7.0_beta1.ebuild:
+ Version bump #166440 by Carsten Lohrke.
20 Oct 2006; Petteri Räty <betelgeuse@gentoo.org> rar-3.6.0.ebuild:
rar-3.6.0 will now show an ewarn if the system gcc is < 3.4 because rar
--- /dev/null
+MD5 f9313410e1f9d223c40e75d7207c6f0a rarlinux-3.7.b1.tar.gz 769033
+RMD160 15f12b3fe94dc599a28ac24a5f1b71f8a5ef9cf5 rarlinux-3.7.b1.tar.gz 769033
+SHA256 da052e4f2fb2d944fa8169f3596528cf29f1019ef91ffef6cd5dbe34d936937b rarlinux-3.7.b1.tar.gz 769033
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.7.0_beta1.ebuild,v 1.1 2007/02/12 13:13:18 vapier Exp $
+
+inherit toolchain-funcs
+
+MY_PV=${PV/0_beta/b}
+DESCRIPTION="RAR compressor/uncompressor"
+HOMEPAGE="http://www.rarsoft.com/"
+SRC_URI="http://www.rarlab.com/rar/rarlinux-${MY_PV}.tar.gz"
+
+LICENSE="RAR"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="nostrip"
+
+RDEPEND="sys-libs/glibc
+ amd64? ( app-emulation/emul-linux-x86-compat )"
+
+S=${WORKDIR}/${PN}
+
+src_compile() { :; }
+
+src_install() {
+ into /opt/rar
+ dobin rar unrar || die "dobin rar unrar"
+ insinto /opt/rar/lib
+ doins default.sfx || die "default.sfx"
+ insinto /opt/rar/etc
+ doins rarfiles.lst || die "rarfiles.lst"
+ dodoc *.{txt,diz}
+ dodir /opt/bin
+ dosym ../rar/bin/rar /opt/bin/rar
+ dosym ../rar/bin/unrar /opt/bin/unrar
+ prepalldocs
+}
# ChangeLog for app-arch/unrar
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/ChangeLog,v 1.84 2006/10/27 15:26:16 opfer Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/ChangeLog,v 1.85 2007/02/12 13:15:31 vapier Exp $
+
+*unrar-3.7.3 (12 Feb 2007)
+
+ 12 Feb 2007; Mike Frysinger <vapier@gentoo.org> +unrar-3.7.3.ebuild:
+ Version bump #166440 by Carsten Lohrke.
27 Oct 2006; Christian Faulhammer <opfer@gentoo.org> unrar-3.6.8.ebuild:
stable on x86 due bug #151323
--- /dev/null
+MD5 0aa5df1e268eace4f2bd0932fc59d6a1 unrarsrc-3.7.3.tar.gz 129328
+RMD160 155a244a149937bb5f91ea8041177bdb6fe6f788 unrarsrc-3.7.3.tar.gz 129328
+SHA256 fd91c11864746eaa7b70c8c47ed5e9e1c2f29a15a1e60550f185756599795999 unrarsrc-3.7.3.tar.gz 129328
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-3.7.3.ebuild,v 1.1 2007/02/12 13:15:31 vapier Exp $
+
+inherit toolchain-funcs
+
+MY_PN=${PN}src
+DESCRIPTION="Uncompress rar files"
+HOMEPAGE="http://www.rarlab.com/rar_add.htm"
+SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="unRAR"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="!app-arch/unrar-gpl"
+
+S=${WORKDIR}/unrar
+
+src_compile() {
+ emake \
+ -f makefile.unix \
+ CXXFLAGS="${CXXFLAGS}" \
+ CXX="$(tc-getCXX)" \
+ STRIP="true" || die "emake failed"
+}
+
+src_install() {
+ dobin unrar || die "dobin failed"
+ dodoc readme.txt
+}