Magellan Linux

Annotation of /trunk/core/tar/tar-1.30-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30372 - (hide annotations) (download)
Wed Jan 17 13:58:55 2018 UTC (6 years, 3 months ago) by niro
File size: 894 byte(s)
-added a patch to fix some issues with the difflink test
1 niro 30371 # $Id$
2    
3     PNAME="tar"
4     PVER="1.30"
5     PBUILD="r1"
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 niro 30372 mirror://${PNAME}/${PNAME}-${PVER}-tests-difflink.patch
26 niro 30371 )
27    
28     UP2DATE="updatecmd_gnu ${PNAME}"
29    
30 niro 30372 src_prepare()
31     {
32     munpack ${SRCFILE} || die
33     cd ${SRCDIR}
34    
35     # fix some issues with the difflink test
36     # see: http://lists.gnu.org/archive/html/bug-tar/2017-12/msg00027.html
37     mpatch ${PNAME}-${PVER}-tests-difflink.patch || die
38     }
39    
40 niro 30371 src_compile()
41     {
42     cd ${SRCDIR}
43    
44     # allow configure as root
45     FORCE_UNSAFE_CONFIGURE=1 \
46     mconfigure \
47     --disable-dependency-tracking \
48     --libexecdir=/usr/bin \
49     || die
50    
51     mmake || die
52     }