# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-arch/unrar-gpl/unrar-gpl-0.0.1_p20080417.ebuild,v 1.2 2008/04/17 21:42:29 maekke Exp $ DESCRIPTION="Free rar unpacker" HOMEPAGE="http://home.gna.org/unrar/" SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="" DEPEND="!app-arch/unrar" S="${WORKDIR}/${PN/-gpl}" src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "install failed" dodoc AUTHORS README || die "dodoc failed" }