Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1763 - (show annotations) (download)
Mon Sep 19 10:48:53 2011 UTC (12 years, 7 months ago) by niro
File size: 651 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 PCATEGORIE="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
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 MCORE_ONLY_KEEP="bin/cpio"
19 sminclude mbuild mcore-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 --bindir=/bin \
34 --libexecdir=/usr/$(mlibdir)/cpio \
35 --with-rmt=/usr/sbin/rmt \
36 --disable-nls \
37 || die
38
39 mmake || die
40 }