1 |
hwoarang 11/02/22 16:58:11 |
2 |
|
3 |
Added: metadata.xml ChangeLog ticpp-9999.ebuild |
4 |
ticpp-0_p20100924.ebuild |
5 |
Log: |
6 |
Moved from sunrise. Initial ebuild from Patrick Zimmermann (moHiJ) <patrick@××××××.de>. Bug #169802 |
7 |
|
8 |
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 dev-util/ticpp/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ticpp/metadata.xml?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ticpp/metadata.xml?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
<?xml version="1.0" encoding="UTF-8"?> |
19 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 |
<pkgmetadata> |
21 |
<herd>no-herd</herd> |
22 |
<maintainer> |
23 |
<email>hwoarang@g.o</email> |
24 |
<name>Markos Chandras</name> |
25 |
</maintainer> |
26 |
<longdescription lang="en"> |
27 |
</longdescription> |
28 |
</pkgmetadata> |
29 |
|
30 |
|
31 |
|
32 |
|
33 |
1.1 dev-util/ticpp/ChangeLog |
34 |
|
35 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ticpp/ChangeLog?rev=1.1&view=markup |
36 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ticpp/ChangeLog?rev=1.1&content-type=text/plain |
37 |
|
38 |
Index: ChangeLog |
39 |
=================================================================== |
40 |
# ChangeLog for dev-util/ticpp |
41 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
42 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/ticpp/ChangeLog,v 1.1 2011/02/22 16:58:11 hwoarang Exp $ |
43 |
|
44 |
*ticpp-9999 (22 Feb 2011) |
45 |
*ticpp-0_p20100924 (22 Feb 2011) |
46 |
|
47 |
22 Feb 2011; Markos Chandras <hwoarang@g.o> +ticpp-0_p20100924.ebuild, |
48 |
+ticpp-9999.ebuild, +metadata.xml: |
49 |
Moved from sunrise. Initial ebuild from Patrick Zimmermann (moHiJ) |
50 |
<patrick@××××××.de>. Bug #169802 |
51 |
|
52 |
|
53 |
|
54 |
|
55 |
1.1 dev-util/ticpp/ticpp-9999.ebuild |
56 |
|
57 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ticpp/ticpp-9999.ebuild?rev=1.1&view=markup |
58 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ticpp/ticpp-9999.ebuild?rev=1.1&content-type=text/plain |
59 |
|
60 |
Index: ticpp-9999.ebuild |
61 |
=================================================================== |
62 |
# Copyright 1999-2011 Gentoo Foundation |
63 |
# Distributed under the terms of the GNU General Public License v2 |
64 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/ticpp/ticpp-9999.ebuild,v 1.1 2011/02/22 16:58:11 hwoarang Exp $ |
65 |
|
66 |
ESVN_REPO_URI="http://ticpp.googlecode.com/svn/trunk/" |
67 |
inherit subversion |
68 |
|
69 |
MY_PV=cvs |
70 |
DESCRIPTION="A completely new interface to TinyXML that uses MANY of the C++ strengths" |
71 |
HOMEPAGE="http://code.google.com/p/ticpp/" |
72 |
SRC_URI="" |
73 |
|
74 |
LICENSE="GPL-2" |
75 |
KEYWORDS="" |
76 |
SLOT="0" |
77 |
IUSE="debug doc" |
78 |
|
79 |
DEPEND="dev-util/premake |
80 |
doc? ( app-doc/doxygen sys-apps/sed )" |
81 |
RDEPEND="" |
82 |
|
83 |
S=${WORKDIR}/${PN} |
84 |
|
85 |
src_compile() { |
86 |
local myconf |
87 |
|
88 |
premake --target gnu || die "creating Makefile failed" |
89 |
|
90 |
if use !debug ; then |
91 |
myconf="CONFIG=Release" |
92 |
fi |
93 |
|
94 |
emake ${myconf} || die "emake failed" |
95 |
|
96 |
if use doc ; then |
97 |
sed -i -e '/GENERATE_HTMLHELP/s:YES:NO:' dox || die "sed failed" |
98 |
doxygen dox || die "doxygen failed" |
99 |
fi |
100 |
} |
101 |
|
102 |
src_install () { |
103 |
insinto /usr/include/ticpp |
104 |
doins *.h || die "installing headers failed" |
105 |
|
106 |
if use debug ; then |
107 |
dolib libticppd.a || die "installing library failed" |
108 |
else |
109 |
dolib libticpp.a || die "installing library failed" |
110 |
fi |
111 |
|
112 |
dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt || \ |
113 |
die "dodoc failed" |
114 |
|
115 |
if use doc ; then |
116 |
dohtml -r docs/* || die "installing docs failed" |
117 |
fi |
118 |
} |
119 |
|
120 |
|
121 |
|
122 |
1.1 dev-util/ticpp/ticpp-0_p20100924.ebuild |
123 |
|
124 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ticpp/ticpp-0_p20100924.ebuild?rev=1.1&view=markup |
125 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ticpp/ticpp-0_p20100924.ebuild?rev=1.1&content-type=text/plain |
126 |
|
127 |
Index: ticpp-0_p20100924.ebuild |
128 |
=================================================================== |
129 |
# Copyright 1999-2011 Gentoo Foundation |
130 |
# Distributed under the terms of the GNU General Public License v2 |
131 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/ticpp/ticpp-0_p20100924.ebuild,v 1.1 2011/02/22 16:58:11 hwoarang Exp $ |
132 |
|
133 |
DESCRIPTION="A completely new interface to TinyXML that uses MANY of the C++ strengths" |
134 |
HOMEPAGE="http://code.google.com/p/ticpp/" |
135 |
SRC_URI="http://sulmonalug.it/files/mrfree/${P}.tar.bz2" |
136 |
|
137 |
LICENSE="GPL-2" |
138 |
KEYWORDS="~amd64" |
139 |
SLOT="0" |
140 |
IUSE="debug doc" |
141 |
|
142 |
DEPEND="dev-util/premake |
143 |
doc? ( app-doc/doxygen sys-apps/sed )" |
144 |
RDEPEND="" |
145 |
|
146 |
src_compile() { |
147 |
local myconf |
148 |
|
149 |
premake --target gnu || die "creating Makefile failed" |
150 |
|
151 |
if use !debug ; then |
152 |
myconf="CONFIG=Release" |
153 |
fi |
154 |
|
155 |
emake ${myconf} || die "emake failed" |
156 |
|
157 |
if use doc ; then |
158 |
sed -i -e '/GENERATE_HTMLHELP/s:YES:NO:' dox || die "sed failed" |
159 |
doxygen dox || die "doxygen failed" |
160 |
fi |
161 |
} |
162 |
|
163 |
src_install () { |
164 |
insinto /usr/include/ticpp |
165 |
doins *.h || die "installing headers failed" |
166 |
|
167 |
if use debug ; then |
168 |
dolib ../lib/libticppd.a || die "installing library failed" |
169 |
else |
170 |
dolib ../lib/libticpp.a || die "installing library failed" |
171 |
fi |
172 |
|
173 |
dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt || \ |
174 |
die "dodoc failed" |
175 |
|
176 |
if use doc ; then |
177 |
dohtml -r docs/* || die "installing docs failed" |
178 |
fi |
179 |
} |