Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/cpio/cpio-2.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7785 - (hide annotations) (download)
Wed Nov 18 09:03:55 2015 UTC (8 years, 7 months ago) by niro
File size: 647 byte(s)
-release branches/alx07x-unstable
1 niro 7564 # $Id$
2    
3     PNAME="cpio"
4     PVER="2.12"
5     PBUILD="r1"
6    
7     PCAT="app-arch"
8    
9     DESCRIPTION="Archiver that handles various types of cpio and tar archives."
10     HOMEPAGE="http://www.gnu.org/software/cpio/"
11    
12     DEPEND=">= virtual/glibc"
13     SDEPEND=">= virtual/sed"
14     PROVIDE="virtual/cpio"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     ALX_PKG_KEEP="usr/bin/cpio"
20     sminclude mbuild alx-split
21    
22     SRC_URI=(
23     gnu://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27     UP2DATE="updatecmd_gnu ${PNAME}"
28    
29     src_compile()
30     {
31     cd ${SRCDIR}
32    
33     mconfigure \
34     --libexecdir=/usr/$(mlibdir)/cpio \
35     --with-rmt=/usr/bin/rmt \
36     --enable-nls \
37     || die
38    
39     mmake || die
40     }