Magellan Linux

Annotation of /smage/trunk/core/patch/patch-2.6.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1078 - (hide annotations) (download)
Tue Jan 25 21:14:29 2011 UTC (13 years, 3 months ago) by niro
File size: 657 byte(s)
auto added: ver bump to 2.6.1-r1
1 niro 1078 # $Id$
2    
3     PNAME="patch"
4     PVER="2.6.1"
5     PBUILD="r11"
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     }