Annotation of /smage/trunk/core/patch/patch-2.6.1-r3.smage2
Parent Directory | Revision Log
Revision 1772 -
(hide annotations)
(download)
Mon Sep 19 11:12:21 2011 UTC (12 years, 7 months ago) by niro
File size: 639 byte(s)
Mon Sep 19 11:12:21 2011 UTC (12 years, 7 months ago) by niro
File size: 639 byte(s)
auto added: ver bump to 2.6.1-r3
1 | niro | 1772 | # $Id$ |
2 | |||
3 | PNAME="patch" | ||
4 | PVER="2.6.1" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCATEGORIE="sys-dev" | ||
8 | |||
9 | DESCRIPTION="Utility to apply diffs to files." | ||
10 | HOMEPAGE="http://www.gnu.org/software/patch/patch.html" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | sminclude mbuild | ||
18 | |||
19 | SRC_URI=( | ||
20 | gnu://${PNAME}/${SRCFILE} | ||
21 | mirror://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${PNAME}-${PVER}-get-arg.patch | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd_gnu ${PNAME}" | ||
26 | |||
27 | src_prepare() | ||
28 | { | ||
29 | munpack ${SRCFILE} || die | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | # fixed arguments for get | ||
33 | # see: https://bugzilla.redhat.com/show_bug.cgi?id=553624 | ||
34 | mpatch ${PNAME}-${PVER}-get-arg.patch || die | ||
35 | } |