Magellan Linux

Contents of /smage/trunk/core/cpio/cpio-2.11-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3869 - (show annotations) (download)
Mon Jul 23 08:26:53 2012 UTC (12 years, 2 months ago) by niro
File size: 627 byte(s)
auto added: ver bump to 2.11-r3
1 # $Id$
2
3 PNAME="cpio"
4 PVER="2.11"
5 PBUILD="r3"
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=">= sys-apps/sed-4"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 ALX_PKG_KEEP="usr/bin/cpio"
19 sminclude mbuild alx-split
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 --libexecdir=/usr/$(mlibdir)/cpio \
34 --with-rmt=/usr/bin/rmt \
35 --enable-nls \
36 || die
37
38 mmake || die
39 }