Magellan Linux

Contents of /branches/R11-stable/core/tar/tar-1.26-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14943 - (show annotations) (download)
Wed Jan 2 09:42:34 2013 UTC (11 years, 4 months ago) by niro
File size: 816 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="tar"
4 PVER="1.26"
5 PBUILD="r3"
6
7 PCAT="sys-apps"
8
9 DESCRIPTION="Use this to try make tarballs."
10 HOMEPAGE="http://www.gnu.org/software/tar/"
11
12 DEPEND=">= app-arch/gzip-1.4
13 >= app-arch/bzip2-1"
14
15 PROVIDE="virtual/tar"
16
17 SRCFILE="${PNAME}-${PVER}.tar.bz2"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mbuild
21
22 SRC_URI=(
23 gnu://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch
26 )
27
28 UP2DATE="updatecmd_gnu ${PNAME}"
29
30 src_prepare()
31 {
32 munpack ${SRCFILE} || die
33 cd ${SRCDIR}
34
35 # fix ftbfs against newer glibc (>=2.16)
36 mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die
37 }
38
39 src_compile()
40 {
41 cd ${SRCDIR}
42
43 # allow configure as root
44 FORCE_UNSAFE_CONFIGURE=1 \
45 mconfigure \
46 --disable-dependency-tracking \
47 --libexecdir=/usr/bin \
48 || die
49
50 mmake || die
51 }