/[gentoo-x86]/sys-devel/patch/patch-2.7.1.ebuild
Gentoo

Contents of /sys-devel/patch/patch-2.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Sep 28 22:16:50 2012 UTC (2 years, 2 months ago) by vapier
Branch: MAIN
Version bump which should fix #435384 by Ben Kohler and #435862 by Andrey Volkov.

(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/patch-2.7.ebuild,v 1.3 2012/09/19 11:45:58 aballier Exp $
4
5 inherit flag-o-matic unpacker
6
7 DESCRIPTION="Utility to apply diffs to files"
8 HOMEPAGE="http://www.gnu.org/software/patch/patch.html"
9 SRC_URI="mirror://gnu/patch/${P}.tar.xz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
14 IUSE="static test xattr"
15
16 RDEPEND="xattr? ( sys-apps/attr )"
17 DEPEND="${RDEPEND}
18 test? ( sys-apps/ed )"
19
20 src_compile() {
21 use static && append-ldflags -static
22
23 local myconf=""
24 [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g"
25 econf \
26 $(use_enable xattr) \
27 ${myconf}
28
29 emake || die
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install || die
34 dodoc AUTHORS ChangeLog NEWS README
35 }

  ViewVC Help
Powered by ViewVC 1.1.20