Annotation of /smage/trunk/core/cpio/cpio-2.10-r1.smage2
Parent Directory | Revision Log
Revision 134 -
(hide annotations)
(download)
Thu Jan 7 19:52:00 2010 UTC (14 years, 4 months ago) by niro
File size: 798 byte(s)
Thu Jan 7 19:52:00 2010 UTC (14 years, 4 months ago) by niro
File size: 798 byte(s)
auto added: ver bump to 2.10-r1
1 | niro | 134 | # $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 | sminclude mbuild | ||
19 | |||
20 | SRC_URI=( | ||
21 | gnu://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${PNAME}-2.9-restore-perms-owners.patch | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd_gnu ${PNAME}" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fix permissions | ||
34 | mpatch ${PNAME}-2.9-restore-perms-owners.patch || die | ||
35 | } | ||
36 | |||
37 | src_compile() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | mconfigure \ | ||
42 | --bindir=/bin \ | ||
43 | --libexecdir=/usr/$(mlibdir)/cpio \ | ||
44 | --with-rmt=/usr/sbin/rmt \ | ||
45 | --disable-nls \ | ||
46 | || die | ||
47 | |||
48 | mmake || die | ||
49 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |