Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/patch/patch-2.6.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1780 - (show annotations) (download)
Tue Apr 12 09:58:03 2011 UTC (13 years, 2 months ago) by niro
File size: 693 byte(s)
auto added: ver bump to 2.6.1-r1
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 REMOVE_DEPRECATED_MAGE_TARGETS=1
19 sminclude mbuild alx
20
21 SRC_URI=(
22 gnu://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-${PVER}-get-arg.patch
25 )
26
27 UP2DATE="updatecmd_gnu ${PNAME}"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 # fixed arguments for get
35 # see: https://bugzilla.redhat.com/show_bug.cgi?id=553624
36 mpatch ${PNAME}-${PVER}-get-arg.patch || die
37 }