Magellan Linux

Contents of /trunk/core/tar/tar-1.26-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9931 - (show annotations) (download)
Sat Jan 14 23:48:00 2012 UTC (12 years, 5 months ago) by niro
File size: 605 byte(s)
-imported from magellan-next
1 # $Id$
2
3 PNAME="tar"
4 PVER="1.26"
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 SRCFILE="${PNAME}-${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 gnu://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd_gnu ${PNAME}"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 # allow configure as root
32 FORCE_UNSAFE_CONFIGURE=1 \
33 mconfigure \
34 --disable-dependency-tracking \
35 --bindir=/bin \
36 --libexecdir=/usr/sbin \
37 || die
38
39 mmake || die
40 }