Annotation of /trunk/core/cpio/cpio-2.12-r1.smage2
Parent Directory | Revision Log
Revision 26925 -
(hide annotations)
(download)
Wed Nov 4 11:53:47 2015 UTC (8 years, 10 months ago) by niro
File size: 793 byte(s)
Wed Nov 4 11:53:47 2015 UTC (8 years, 10 months ago) by niro
File size: 793 byte(s)
auto added: ver bump to 2.12-r1
1 | niro | 26925 | # $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 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild | ||
19 | |||
20 | SRC_URI=( | ||
21 | gnu://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd_gnu ${PNAME}" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fix ftbfs against newer glibc (>=2.16) | ||
34 | mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die | ||
35 | } | ||
36 | |||
37 | src_compile() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | mconfigure \ | ||
42 | --libexecdir=/usr/$(mlibdir)/cpio \ | ||
43 | --with-rmt=/usr/bin/rmt \ | ||
44 | --enable-nls \ | ||
45 | || die | ||
46 | |||
47 | mmake || die | ||
48 | } |