Contents of /branches/branch-xorg18/core/cpio/cpio-2.10-r1.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 825 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 825 byte(s)
created branch 'branch-xorg18'
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 | SDEPEND=">= sys-apps/sed-4" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mbuild |
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 | --enable-nls \ |
47 | || die |
48 | |
49 | mmake || die |
50 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |