Magellan Linux

Contents of /smage/trunk/core/patch/patch-2.6.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1550 - (show annotations) (download)
Thu Mar 3 14:30:24 2011 UTC (13 years, 1 month ago) by niro
File size: 656 byte(s)
-rev bump for mass rebuild
1 # $Id$
2
3 PNAME="patch"
4 PVER="2.6.1"
5 PBUILD="r2"
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 }