Magellan Linux

Contents of /branches/magellan-next/core/cpio/cpio-2.11-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7600 - (show annotations) (download)
Fri May 27 18:27:05 2011 UTC (13 years ago) by niro
File size: 631 byte(s)
auto added: ver bump to 2.11-r2
1 # $Id$
2
3 PNAME="cpio"
4 PVER="2.11"
5 PBUILD="r2"
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 }