blob: 15b162502724f3707fe1b6c1d8b468f355eb5830 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unarj/unarj-2.63a-r2.ebuild,v 1.14 2007/03/09 20:09:03 jer Exp $
inherit eutils
DESCRIPTION="Utility for opening arj archives"
HOMEPAGE="http://ibiblio.org/pub/Linux/utils/compress/"
SRC_URI="http://ibiblio.org/pub/Linux/utils/compress/${P}.tar.gz"
LICENSE="arj"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86"
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
sed -i "/^CFLAGS/s:-O2:${CFLAGS}:" Makefile
epatch ${FILESDIR}/unarj-2.65-CAN-2004-0947.patch
epatch ${FILESDIR}/unarj-2.65-sanitation.patch
sed -i -e 's@strip unarj@@' Makefile
}
src_install() {
dobin unarj || die 'dobin failed'
dodoc unarj.txt technote.txt readme.txt || die 'dodoc failed'
}
|