Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2792 - (show annotations) (download)
Mon Aug 29 20:03:18 2011 UTC (12 years, 8 months ago) by niro
File size: 676 byte(s)
-merged branch alx-0_6_0 into trunk
1 # $Id$
2
3 PNAME="patch"
4 PVER="2.6.1"
5 PBUILD="r1"
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 REMOVE_DEPRECATED_MAGE_TARGETS=1
18 sminclude mbuild alx
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 }