blob: d5dee9c4463f52902da8b8722b1e085306079960 (
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
36
37
38
39
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/pax/pax-3.4.12.16-r1.ebuild,v 1.1 2014/11/23 17:45:44 remi Exp $
EAPI="4"
inherit eutils rpm versionator autotools
MY_PV=$(get_version_component_range 1-2)
MY_P="${PN}-${MY_PV}"
RPM_PV=$(get_version_component_range 3)
FC_PV=$(get_version_component_range 4)
DESCRIPTION="pax (Portable Archive eXchange) is the POSIX standard archive tool"
HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/src/bin/pax/"
SRC_URI="mirror://fedora-dev/releases/${FC_PV}/Everything/source/SRPMS/${MY_P}-${RPM_PV}.fc${FC_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
src_prepare() {
rpm_spec_epatch ../${PN}.spec
epatch "${FILESDIR}"/pax-3.4-x32.patch
epatch "${FILESDIR}"/pax-3.4-fix-fts-includes.patch
sed -i configure.in \
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-e '/AC_PROG_RANLIB/a AC_PROG_MKDIR_P' \
|| die
eautoreconf
}
src_install() {
default
dodoc AUTHORS ChangeLog NEWS README THANKS
}
|