You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-arch/unrar/unrar-3.9.10.ebuild

33 lines
772 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-3.9.10.ebuild,v 1.9 2010/12/05 16:06:35 armin76 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 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE=""
DEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
S=${WORKDIR}/unrar
src_compile() {
emake \
-f makefile.unix \
CXXFLAGS="${CXXFLAGS}" \
CXX="$(tc-getCXX)" \
STRIP="true" || die "emake failed"
}
src_install() {
dobin unrar || die
dodoc readme.txt
}