Gentoo Archives: gentoo-commits

From: "Chris Gianelloni (wolf31o2)" <wolf31o2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/catalyst: ChangeLog catalyst-2.0.6_pre11.ebuild
Date: Wed, 05 Mar 2008 16:33:30
Message-Id: E1JWwYZ-000298-GY@stork.gentoo.org
1 wolf31o2 08/03/05 16:33:27
2
3 Modified: ChangeLog
4 Added: catalyst-2.0.6_pre11.ebuild
5 Log:
6 Version bump to 2.0.6_pre11 for testing.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.192 dev-util/catalyst/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/catalyst/ChangeLog?rev=1.192&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/catalyst/ChangeLog?rev=1.192&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/catalyst/ChangeLog?r1=1.191&r2=1.192
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v
19 retrieving revision 1.191
20 retrieving revision 1.192
21 diff -u -r1.191 -r1.192
22 --- ChangeLog 27 Feb 2008 17:15:11 -0000 1.191
23 +++ ChangeLog 5 Mar 2008 16:33:26 -0000 1.192
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/catalyst
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v 1.191 2008/02/27 17:15:11 wolf31o2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v 1.192 2008/03/05 16:33:26 wolf31o2 Exp $
29 +
30 +*catalyst-2.0.6_pre11 (05 Mar 2008)
31 +
32 + 05 Mar 2008; Chris Gianelloni <wolf31o2@g.o>
33 + +catalyst-2.0.6_pre11.ebuild:
34 + Version bump to 2.0.6_pre11 for testing.
35
36 *catalyst-2.0.6_pre10 (27 Feb 2008)
37
38
39
40
41 1.1 dev-util/catalyst/catalyst-2.0.6_pre11.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/catalyst/catalyst-2.0.6_pre11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/catalyst/catalyst-2.0.6_pre11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: catalyst-2.0.6_pre11.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.0.6_pre11.ebuild,v 1.1 2008/03/05 16:33:26 wolf31o2 Exp $
51
52 # catalyst-9999 -> latest SVN
53 # catalyst-9999.REV -> use SVN REV
54 # catalyst-VER -> normal catalyst release
55
56 if [[ ${PV} == 9999* ]]
57 then
58 [[ ${PV} == 9999.* ]] && ESVN_UPDATE_CMD="svn up -r ${PV/9999./}"
59 ESVN_REPO_URI="svn://anonsvn.gentoo.org/catalyst/trunk"
60 inherit subversion eutils multilib
61 SRC_URI=""
62 S=${WORKDIR}/trunk
63 else
64 inherit eutils multilib
65 SRC_URI="mirror://gentoo/${P}.tar.bz2
66 http://dev.gentoo.org/~wolf31o2/${P}.tar.bz2"
67 fi
68
69 DESCRIPTION="release metatool used for creating Gentoo releases"
70 HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 #KEYWORDS="~amd64 ~x86"
75 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
76 #KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
77 RESTRICT=""
78 IUSE="ccache"
79
80 DEPEND=""
81 RDEPEND="dev-lang/python
82 app-crypt/shash
83 virtual/cdrtools
84 ccache? ( dev-util/ccache )
85 ia64? ( sys-fs/dosfstools )
86 kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
87
88 pkg_setup() {
89 if use ccache ; then
90 einfo "Enabling ccache support for catalyst."
91 else
92 ewarn "By default, ccache support for catalyst is disabled."
93 ewarn "If this is not what you intended,"
94 ewarn "then you should add ccache to your USE."
95 fi
96 echo
97 einfo "The template spec files are now installed by default. You can find"
98 einfo "them under /usr/share/doc/${PF}/examples"
99 einfo "and they are considered to be the authorative source of information"
100 einfo "on catalyst."
101 }
102
103 src_unpack() {
104 if [[ ${PV} == 9999* ]] ; then
105 subversion_src_unpack
106 else
107 unpack ${A}
108 cd "${S}"
109 fi
110 }
111
112 src_install() {
113 insinto /usr/$(get_libdir)/${PN}
114 exeinto /usr/$(get_libdir)/${PN}
115 doexe catalyst || die "copying catalyst"
116 doins -r arch modules livecd || die "copying files"
117 for x in targets/*; do
118 exeinto /usr/$(get_libdir)/${PN}/$x
119 doexe $x/* || die "copying ${x}"
120 done
121 make_wrapper catalyst /usr/$(get_libdir)/${PN}/catalyst
122 insinto /etc/catalyst
123 doins files/catalyst.conf files/catalystrc || die "copying configuration"
124 insinto /usr/share/doc/${PF}/examples
125 doins examples/* || die
126 dodoc README ChangeLog ChangeLog.old AUTHORS
127 doman files/catalyst.1
128 # Here is where we actually enable ccache
129 use ccache && \
130 dosed 's:options="autoresume kern:options="autoresume ccache kern:' \
131 /etc/catalyst/catalyst.conf
132 dosed "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
133 /etc/catalyst/catalyst.conf
134 }
135
136 pkg_postinst() {
137 einfo "You can find more information about catalyst by checking out the"
138 einfo "catalyst project page at:"
139 einfo "http://www.gentoo.org/proj/en/releng/catalyst/index.xml"
140 echo
141 }
142
143
144
145 --
146 gentoo-commits@l.g.o mailing list