Magellan Linux

Contents of /smage/trunk/core/patch/patch-2.5.9-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (show annotations) (download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 3 months ago) by niro
File size: 815 byte(s)
-fixed old cvs headers
1 # $Id$
2
3 PNAME="patch"
4 PVER="2.5.9"
5 PBUILD="r8"
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.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude alx
19
20 SRC_URI=(
21 mirror://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${PNAME}-${PVER}-cr-stripping.patch
23 )
24
25 src_prepare()
26 {
27 munpack ${SRCFILE} || die
28 cd ${SRCDIR}
29
30 # fix failures with dos generated patches
31 mpatch ${PNAME}-${PVER}-cr-stripping.patch || die
32 }
33
34 src_compile()
35 {
36 cd ${SRCDIR}
37
38 CPPFLAGS=-D_GNU_SOURCE ./configure \
39 --host=${CHOST} \
40 --prefix=/usr \
41 --mandir=/usr/share/man || die
42
43 mmake || die
44 }
45
46 src_install()
47 {
48 cd ${SRCDIR}
49 minstall || die
50 minstalldocs AUTHORS COPYING NEWS README || die
51 }

Properties

Name Value
svn:keywords Id