Magellan Linux

Contents of /trunk/core/cpio/cpio-2.11-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10112 - (show annotations) (download)
Mon Jan 16 22:04:51 2012 UTC (12 years, 4 months ago) by niro
File size: 608 byte(s)
-import from magellan-next
1 # $Id$
2
3 PNAME="cpio"
4 PVER="2.11"
5 PBUILD="r2"
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 sminclude mbuild
19
20 SRC_URI=(
21 gnu://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd_gnu ${PNAME}"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 mconfigure \
32 --bindir=/bin \
33 --libexecdir=/usr/$(mlibdir)/cpio \
34 --with-rmt=/usr/sbin/rmt \
35 --enable-nls \
36 || die
37
38 mmake || die
39 }