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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.27 - (show annotations) (download)
Sun Feb 6 11:37:50 2011 UTC (3 years, 9 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +3 -3 lines
Drop to ~mips

(Portage version: 2.1.9.35/cvs/Linux mips64)

1 # Copyright 1999-2011 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.5.9.ebuild,v 1.26 2008/03/18 12:34:29 vapier Exp $
4
5 inherit flag-o-matic
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 ~sparc-fbsd"
16 IUSE="static"
17
18 DEPEND=""
19
20 src_compile() {
21 strip-flags
22 append-flags -DLINUX -D_XOPEN_SOURCE=500
23 use static && append-ldflags -static
24
25 local myconf=""
26 [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g"
27 ac_cv_sys_long_file_names=yes econf ${myconf} || die
28
29 emake || die "emake failed"
30 }
31
32 src_install() {
33 einstall || die
34 dodoc AUTHORS ChangeLog NEWS README
35 }

  ViewVC Help
Powered by ViewVC 1.1.20