Gentoo Archives: gentoo-commits

From: "Jim Ramsay (lack)" <lack@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in rox-base/rox-clib: ChangeLog rox-clib-2.1.9-r2.ebuild
Date: Tue, 04 Dec 2007 17:51:06
Message-Id: E1Izbv6-0001r1-Oc@stork.gentoo.org
1 lack 07/12/04 17:50:56
2
3 Modified: ChangeLog
4 Added: rox-clib-2.1.9-r2.ebuild
5 Log:
6 Updated to install 0install native feed for new rox-0install eclass
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.24 rox-base/rox-clib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/rox-base/rox-clib/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- ChangeLog 29 Nov 2007 16:15:54 -0000 1.23
23 +++ ChangeLog 4 Dec 2007 17:50:56 -0000 1.24
24 @@ -1,6 +1,11 @@
25 # ChangeLog for rox-base/rox-clib
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-clib/ChangeLog,v 1.23 2007/11/29 16:15:54 lack Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-clib/ChangeLog,v 1.24 2007/12/04 17:50:56 lack Exp $
29 +
30 +*rox-clib-2.1.9-r2 (04 Dec 2007)
31 +
32 + 04 Dec 2007; Jim Ramsay <lack@g.o> +rox-clib-2.1.9-r2.ebuild:
33 + Updated to install 0install native feed for new rox-0install eclass
34
35 29 Nov 2007; Jim Ramsay <lack@g.o> -rox-clib-2.1.8.ebuild,
36 -rox-clib-2.1.9.ebuild:
37
38
39
40 1.1 rox-base/rox-clib/rox-clib-2.1.9-r2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/rox-clib-2.1.9-r2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/rox-clib-2.1.9-r2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rox-clib-2.1.9-r2.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/rox-base/rox-clib/rox-clib-2.1.9-r2.ebuild,v 1.1 2007/12/04 17:50:56 lack Exp $
50
51 inherit multilib
52
53 MY_PN="ROX-CLib"
54 DESCRIPTION="A library for ROX applications written in C."
55 HOMEPAGE="http://rox.sourceforge.net/"
56 SRC_URI="http://www.kerofin.demon.co.uk/rox/${MY_PN}-${PV}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
61 IUSE=""
62
63 RDEPEND=">=x11-libs/gtk+-2.0.1
64 >=dev-libs/libxml2-2.4.0"
65
66 DEPEND="$RDEPEND
67 >=dev-util/pkgconfig-0.20
68 rox-base/zeroinstall-injector"
69
70 S=${WORKDIR}/ROX-CLib
71 APPNAME=${MY_PN}
72
73 src_compile() {
74 chmod 0755 AppRun
75
76 # Most rox self-compiles have a 'read' call to wait for the user to
77 # press return if the compile fails.
78 # Find and remove this:
79 sed -i.bak -e 's/\<read WAIT\>/#read/' AppRun
80
81 ./AppRun --compile || die "Could not make ROX-CLib. Sorry."
82
83 # Restore the original AppRun
84 mv AppRun.bak AppRun
85 }
86
87 src_install() {
88 local baselibdir="/usr/$(get_libdir)"
89 local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds"
90 local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons"
91
92 # clean up source instead of remove it!
93 ( cd src && make clean )
94
95 # remove silly .cvs files
96 find . -name '.cvs*' | xargs rm -f >/dev/null 2>&1
97 dodoc ${baselibdir}/${APPNAME}
98 dodir ${baselibdir}/${APPNAME}
99 cp -r . "${D}${baselibdir}/${APPNAME}"
100 (
101 cd Help
102 dodoc Authors Changes ToDo COPYING README Versions
103 )
104
105 0distutils ROX-CLib.xml > tmp.native_feed || die "0distutilss feed edit failed"
106 insinto "${baselibdir}/ROX-CLib/"
107 newins tmp.native_feed ROX-CLib.xml
108
109 local feedname
110 feedname=$(0distutils -e tmp.native_feed) || "0distutils URI escape failed"
111 dosym "${baselibdir}/ROX-CLib/ROX-CLib.xml" "${NATIVE_FEED_DIR}/${feedname}"
112
113 local cachedname
114 cachedname=$(0distutils -c tmp.native_feed) || "0distutils URI escape failed"
115 dosym "${baselibdir}/ROX-CLib/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}"
116
117 }
118
119
120
121 --
122 gentoo-commits@g.o mailing list