Contents of /smage/branches/alx07x-stable/core/cpio/cpio-2.12-r1.smage2
Parent Directory | Revision Log
Revision 7879 -
(show annotations)
(download)
Wed Nov 18 10:23:49 2015 UTC (8 years, 10 months ago) by niro
File size: 647 byte(s)
Wed Nov 18 10:23:49 2015 UTC (8 years, 10 months ago) by niro
File size: 647 byte(s)
-release alx07x-stable
1 | # $Id$ |
2 | |
3 | PNAME="cpio" |
4 | PVER="2.12" |
5 | PBUILD="r1" |
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 | } |