/[gentoo-alt]/trunk/sys-devel/patch/patch-2.5.9-r1.ebuild
Gentoo

Contents of /trunk/sys-devel/patch/patch-2.5.9-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 331 - (show annotations) (download)
Thu May 5 12:22:21 2005 UTC (9 years, 7 months ago) by flameeyes
File size: 1000 byte(s)
Updated patch to latest version and installs it as per bug #91560.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit flag-o-matic eutils
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.gz"
10 #Using own mirrors until gnu has md5sum and all packages up2date
11 SRC_URI="mirror://gentoo/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
16 IUSE="build static"
17
18 DEPEND=""
19
20 src_unpack() {
21 unpack ${A}
22 cd ${S}
23 epatch ${FILESDIR}/${PV}-deb-cr.patch
24 }
25
26 src_compile() {
27 strip-flags
28 append-flags -DLINUX -D_XOPEN_SOURCE=500
29 use static && append-ldflags -static
30
31 ac_cv_sys_long_file_names=yes econf \
32 --program-prefix=g \
33 || die
34
35 emake || die "emake failed"
36 }
37
38 src_install() {
39 einstall || die
40 dodoc AUTHORS ChangeLog NEWS README
41 use build && rm -r "${D}"/usr/share
42
43 [[ ${USERLAND} == "GNU" ]] && dosym gpatch /usr/bin/patch
44 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20