Magellan Linux

Contents of /smage/trunk/core/cpio/cpio-2.12-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10222 - (show annotations) (download)
Wed Aug 16 14:00:03 2017 UTC (6 years, 8 months ago) by niro
File size: 647 byte(s)
auto added: ver bump to 2.12-r2
1 # $Id$
2
3 PNAME="cpio"
4 PVER="2.12"
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=">= 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 }