Magellan Linux

Contents of /branches/magellan-next/core/tar/tar-1.25-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7381 - (show annotations) (download)
Tue Jan 11 18:17:50 2011 UTC (13 years, 4 months ago) by niro
File size: 680 byte(s)
-allow configure as root
1 # $Id: tar-1.22-r2.smage2 3068 2009-10-08 09:55:22Z niro $
2
3 PNAME="tar"
4 PVER="1.25"
5 PBUILD="r1"
6
7 PCATEGORIE="sys-apps"
8 STATE="unstable"
9
10 DESCRIPTION="Use this to try make tarballs."
11 HOMEPAGE="http://www.gnu.org/software/tar/"
12
13 DEPEND=">= app-arch/gzip-1.4
14 >= app-arch/bzip2-1"
15
16 SRCFILE="${PNAME}-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mbuild
20
21 SRC_URI=(
22 gnu://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd_gnu ${PNAME}"
27
28 src_compile()
29 {
30 cd ${SRCDIR}
31
32 # allow configure as root
33 FORCE_UNSAFE_CONFIGURE=1 \
34 mconfigure \
35 --disable-dependency-tracking \
36 --bindir=/bin \
37 --libexecdir=/usr/sbin \
38 || die
39
40 mmake || die
41 }