Contents of /trunk/core/patch/patch-2.5.9-r9.smage2
Parent Directory | Revision Log
Revision 145 -
(show annotations)
(download)
Tue Oct 14 13:49:09 2008 UTC (15 years, 11 months ago) by niro
File size: 1026 byte(s)
Tue Oct 14 13:49:09 2008 UTC (15 years, 11 months ago) by niro
File size: 1026 byte(s)
-rev bump to 2.5.9-r9
1 | # $Header: /magellan-cvs/smage/patch/patch-2.5.9-r8.smage2,v 1.1 2008/02/10 10:51:57 niro Exp $ |
2 | |
3 | PNAME="patch" |
4 | PVER="2.5.9" |
5 | PBUILD="r9" |
6 | |
7 | PCATEGORIE="sys-dev" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Utility to apply diffs to files." |
11 | HOMEPAGE="http://www.gnu.org/software/patch/patch.html" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | SRC_URI=( |
19 | ftp://alpha.gnu.org/gnu/diffutils/${SRCFILE} |
20 | mirror://${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${PNAME}-${PVER}-cr-stripping.patch |
22 | ) |
23 | |
24 | UP2DATE="updatecmd ftp://alpha.gnu.org/gnu/diffutils | grep ${PNAME}-.* | lasttarball gz" |
25 | |
26 | src_prepare() |
27 | { |
28 | munpack ${SRCFILE} || die |
29 | cd ${SRCDIR} |
30 | |
31 | # fix failures with dos generated patches |
32 | mpatch ${PNAME}-${PVER}-cr-stripping.patch || die |
33 | } |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | |
39 | CPPFLAGS=-D_GNU_SOURCE ./configure \ |
40 | --host=${CHOST} \ |
41 | --prefix=/usr \ |
42 | --mandir=/usr/share/man || die |
43 | |
44 | mmake || die |
45 | } |
46 | |
47 | src_install() |
48 | { |
49 | cd ${SRCDIR} |
50 | minstall || die |
51 | minstalldocs AUTHORS COPYING NEWS README || die |
52 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |