Magellan Linux

Annotation of /smage/trunk/core/cpio/cpio-2.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 767 - (hide annotations) (download)
Thu Oct 21 20:13:03 2010 UTC (13 years, 6 months ago) by niro
File size: 684 byte(s)
auto added: ver bump to 2.11-r1
1 niro 767 # $Id: cpio-2.10-r1.smage2 3198 2009-10-16 10:52:33Z niro $
2    
3     PNAME="cpio"
4     PVER="2.11"
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     )
25    
26     UP2DATE="updatecmd_gnu ${PNAME}"
27    
28     src_compile()
29     {
30     cd ${SRCDIR}
31    
32     mconfigure \
33     --bindir=/bin \
34     --libexecdir=/usr/$(mlibdir)/cpio \
35     --with-rmt=/usr/sbin/rmt \
36     --enable-nls \
37     || die
38    
39     mmake || die
40     }