git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
37 lines
917 B
Bash
37 lines
917 B
Bash
# Copyright 1999-2008 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.8.0.ebuild,v 1.3 2008/11/20 10:16:44 armin76 Exp $
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="RAR compressor/uncompressor"
|
|
HOMEPAGE="http://www.rarsoft.com/"
|
|
SRC_URI="x86? ( http://www.rarlab.com/rar/rarlinux-${PV}.tar.gz )
|
|
amd64? ( http://www.rarlab.com/rar/rarlinux-x64-${PV}.tar.gz )"
|
|
|
|
LICENSE="RAR"
|
|
SLOT="0"
|
|
KEYWORDS="-* amd64 x86"
|
|
IUSE=""
|
|
RESTRICT="strip"
|
|
|
|
RDEPEND=">=sys-libs/glibc-2.4"
|
|
|
|
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
|
|
}
|