Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/star: ChangeLog star-1.5_alpha87.ebuild
Date: Wed, 31 Oct 2007 10:44:20
Message-Id: E1InB3W-000618-TS@stork.gentoo.org
1 pva 07/10/31 10:44:14
2
3 Modified: ChangeLog
4 Added: star-1.5_alpha87.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.56 app-arch/star/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/ChangeLog?rev=1.56&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/ChangeLog?rev=1.56&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/ChangeLog?r1=1.55&r2=1.56
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-arch/star/ChangeLog,v
19 retrieving revision 1.55
20 retrieving revision 1.56
21 diff -u -r1.55 -r1.56
22 --- ChangeLog 8 Oct 2007 15:38:20 -0000 1.55
23 +++ ChangeLog 31 Oct 2007 10:44:14 -0000 1.56
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-arch/star
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-arch/star/ChangeLog,v 1.55 2007/10/08 15:38:20 pva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-arch/star/ChangeLog,v 1.56 2007/10/31 10:44:14 pva Exp $
29 +
30 +*star-1.5_alpha87 (31 Oct 2007)
31 +
32 + 31 Oct 2007; <pva@g.o> +star-1.5_alpha87.ebuild:
33 + Version bump.
34
35 *star-1.5_alpha85 (08 Oct 2007)
36
37
38
39
40 1.1 app-arch/star/star-1.5_alpha87.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/star-1.5_alpha87.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/star/star-1.5_alpha87.ebuild?rev=1.1&content-type=text/plain
44
45 Index: star-1.5_alpha87.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-arch/star/star-1.5_alpha87.ebuild,v 1.1 2007/10/31 10:44:14 pva Exp $
50
51 inherit eutils toolchain-funcs
52
53 DESCRIPTION="An enhanced (world's fastest) tar, as well as enhanced mt/rmt"
54 HOMEPAGE="http://cdrecord.berlios.de/old/private/star.html"
55 SRC_URI="ftp://ftp.berlios.de/pub/${PN}/alpha/${PN}-${PV/_alpha/a}.tar.bz2"
56
57 LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
60 IUSE=""
61
62 S=${WORKDIR}/${P/_alpha[0-9][0-9]}
63
64 src_unpack() {
65 unpack ${A}
66 cd "${S}"
67
68 cd "${S}"/DEFAULTS
69 sed -i \
70 -e 's:/opt/schily:/usr:g' \
71 -e 's:bin:root:g' \
72 -e 's:/usr/src/linux/include:/usr/include:' \
73 Defaults.linux
74
75 if use amd64 ; then
76 cd "${S}"/RULES
77 cp i386-linux-cc.rul x86_64-linux-cc.rul
78 cp i386-linux-gcc.rul x86_64-linux-gcc.rul
79 fi
80
81 if use ppc64 ; then
82 cd "${S}"/RULES
83 cp ppc-linux-cc.rul ppc64-linux-cc.rul
84 cp ppc-linux-gcc.rul ppc64-linux-gcc.rul
85 fi
86 }
87
88 src_compile() {
89 make CC="$(tc-getCC)" COPTX="${CFLAGS}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" || die
90 }
91
92 src_install() {
93 # Joerg Schilling suggested to integrate star into the main OS using call:
94 # make INS_BASE=/usr DESTDIR="${D}" install
95
96 dobin star/OBJ/*-*-cc/star || die "dobin star failed"
97 dobin tartest/OBJ/*-*-cc/tartest || die "dobin tartest failed"
98 dobin star_sym/OBJ/*-*-cc/star_sym || die "dobin star_sym failed"
99 dobin mt/OBJ/*-*-cc/smt || die "dobin smt failed"
100
101 newsbin rmt/OBJ/*-*-cc/rmt rmt.star
102 newman rmt/rmt.1 rmt.star.1
103
104 # Note that we should never install gnutar, tar or rmt in this package.
105 # tar and rmt are provided by app-arch/tar. gnutar is not compatible with
106 # GNU tar and breakes compilation, or init scripts. bug #33119
107 dosym /usr/bin/{star,ustar}
108 dosym /usr/bin/{star,spax}
109 dosym /usr/bin/{star,scpio}
110 dosym /usr/bin/{star,suntar}
111
112 # match is needed to understand the pattern matcher, if you wondered why ;)
113 mv star/{star.4,star.5}
114 doman man/man1/match.1 tartest/tartest.1 \
115 star/{star.5,star.1,spax.1,scpio.1,suntar.1}
116
117 insinto /etc/default
118 newins star/star.dfl star
119 newins rmt/rmt.dfl rmt
120
121 dodoc star/{README.ACL,README.crash,README.largefiles,README.otherbugs} \
122 star/{README.pattern,README.pax,README.posix-2001,README,STARvsGNUTAR} \
123 rmt/default-rmt.sample TODO AN-* Changelog CONTRIBUTING
124 }
125
126
127
128 --
129 gentoo-commits@g.o mailing list