blob: 624ff795093285e6f77d2eb13b1395368317d27d (
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
31
32
33
34
35
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/pax/pax-3.3.4.ebuild,v 1.19 2010/11/24 02:19:37 mattst88 Exp $
inherit eutils rpm
MY_PS=${P%.*}-${PV##*.}ras
MY_P=${P%.*}
S=${WORKDIR}/${MY_P}
DESCRIPTION="pax (Portable Archive eXchange) is the POSIX standard archive tool"
HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/src/bin/pax/"
SRC_URI="ftp://rpmfind.net/linux/contrib/libc6/SRPMS/${MY_PS}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh ~sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
rpm_src_unpack
cd ${MY_P}
epatch "${WORKDIR}"/pax-3.3-gcc.patch
epatch "${WORKDIR}"/pax-3.3-modifyWarn.patch
epatch "${WORKDIR}"/pax-3.3-doc.patch
epatch "${WORKDIR}"/pax-3.3-bzip2.patch
}
src_install() {
dobin src/pax || die
doman src/pax.1
dodoc AUTHORS ChangeLog NEWS README THANKS
}
|