Magellan Linux

Contents of /smage/trunk/core/cpio/cpio-2.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 135 - (show annotations) (download)
Thu Jan 7 19:54:39 2010 UTC (14 years, 3 months ago) by niro
File size: 837 byte(s)
-mcore-split
1 # $Id$
2
3 PNAME="cpio"
4 PVER="2.10"
5 PBUILD="r1"
6
7 PCATEGORIE="app-arch"
8 STATE="unstable"
9
10 DESCRIPTION="Archiver that handles various types of cpio and tar archives."
11 HOMEPAGE="http://www.gnu.org/software/cpio/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 MCORE_ONLY_KEEP="bin/cpio"
19 sminclude mbuild mcore-split
20
21 SRC_URI=(
22 gnu://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-2.9-restore-perms-owners.patch
25 )
26
27 UP2DATE="updatecmd_gnu ${PNAME}"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 # fix permissions
35 mpatch ${PNAME}-2.9-restore-perms-owners.patch || die
36 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41
42 mconfigure \
43 --bindir=/bin \
44 --libexecdir=/usr/$(mlibdir)/cpio \
45 --with-rmt=/usr/sbin/rmt \
46 --disable-nls \
47 || die
48
49 mmake || die
50 }

Properties

Name Value
svn:keywords Id