Contents of /smage/trunk/core/patch/patch-2.6.1-r1.smage2
Parent Directory | Revision Log
Revision 1117 -
(show annotations)
(download)
Wed Jan 26 09:04:33 2011 UTC (13 years, 8 months ago) by niro
File size: 656 byte(s)
Wed Jan 26 09:04:33 2011 UTC (13 years, 8 months ago) by niro
File size: 656 byte(s)
-typo
1 | # $Id$ |
2 | |
3 | PNAME="patch" |
4 | PVER="2.6.1" |
5 | PBUILD="r1" |
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.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | gnu://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${PNAME}-${PVER}-get-arg.patch |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_gnu ${PNAME}" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # fixed arguments for get |
34 | # see: https://bugzilla.redhat.com/show_bug.cgi?id=553624 |
35 | mpatch ${PNAME}-${PVER}-get-arg.patch || die |
36 | } |