Contents of /smage/trunk/core/cpio/cpio-2.11-r1.smage2
Parent Directory | Revision Log
Revision 768 -
(show annotations)
(download)
Thu Oct 21 20:14:14 2010 UTC (13 years, 11 months ago) by niro
File size: 721 byte(s)
Thu Oct 21 20:14:14 2010 UTC (13 years, 11 months ago) by niro
File size: 721 byte(s)
-mcore
1 | # $Id: cpio-2.10-r1.smage2 3198 2009-10-16 10:52:33Z niro $ |
2 | |
3 | PNAME="cpio" |
4 | PVER="2.11" |
5 | PBUILD="r1" |
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=">= virtual/sed" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | MCORE_ONLY_KEEP="bin/cpio" |
20 | sminclude mbuild mcore-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 | --bindir=/bin \ |
35 | --libexecdir=/usr/$(mlibdir)/cpio \ |
36 | --with-rmt=/usr/sbin/rmt \ |
37 | --disable-nls \ |
38 | || die |
39 | |
40 | mmake || die |
41 | } |