blob: c4e74673e8b690602eedf9b8b1d8fb3073e6da49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-3.3.3-r1.ebuild,v 1.2 2004/03/12 11:11:07 mr_bones_ Exp $
inherit eutils
MY_P=${PN}src
S=${WORKDIR}/${PN}
DESCRIPTION="Uncompress rar files"
SRC_URI="http://www.rarlab.com/rar/${MY_P}-${PV}.tar.gz"
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
SLOT="0"
LICENSE="unRAR"
KEYWORDS="~amd64"
DEPEND=""
src_compile() {
if [ "${ARCH}" = "amd64" ]
then
epatch ${FILESDIR}/${PN}-3.3.3-amd64.diff
fi
emake -f makefile.unix CXXFLAGS="$CXXFLAGS" || die
}
src_install() {
dobin unrar
dodoc readme.txt license.txt
}
|