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