1 |
dev-zero 08/06/29 01:21:00 |
2 |
|
3 |
Added: metadata.xml ChangeLog poco-1.3.2.ebuild Manifest |
4 |
Log: |
5 |
Initial commit (bug #162846), ebuild written by me. |
6 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-libs/poco/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/metadata.xml?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/metadata.xml?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: metadata.xml |
15 |
=================================================================== |
16 |
<?xml version="1.0" encoding="UTF-8"?> |
17 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 |
<pkgmetadata> |
19 |
<herd>cpp</herd> |
20 |
<maintainer> |
21 |
<email>dev-zero@g.o</email> |
22 |
<name>Tiziano Müller</name> |
23 |
</maintainer> |
24 |
<longdescription> |
25 |
POCO, the C++ Portable Components, is a collection of open source |
26 |
C++ class libraries that simplify and accelerate the development of |
27 |
network-centric, portable applications in C++. The libraries integrate |
28 |
perfectly with the C++ Standard Library and fill many of the functional |
29 |
gaps left open by it. Their modular and efficient design and implementation |
30 |
makes the C++ Portable Components extremely well suited for embedded |
31 |
development, an area where the C++ programming language is becoming |
32 |
increasingly popular, due to its suitability for both low-level (device |
33 |
I/O, interrupt handlers, etc.) and high-level object-oriented development. |
34 |
Of course, POCO is also ready for enterprise-level challenges. |
35 |
|
36 |
The POCO libraries free developers from re-inventing the wheel, and allow |
37 |
them to spend their time on more worthwhile areas, such as getting things |
38 |
done quickly and working on the features that make their application unique. |
39 |
</longdescription> |
40 |
</pkgmetadata> |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-libs/poco/ChangeLog |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/ChangeLog?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/ChangeLog?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: ChangeLog |
50 |
=================================================================== |
51 |
# ChangeLog for dev-libs/poco |
52 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v 1.1 2008/06/29 01:20:59 dev-zero Exp $ |
54 |
|
55 |
*poco-1.3.2 (29 Jun 2008) |
56 |
|
57 |
29 Jun 2008; Tiziano Müller <dev-zero@g.o> |
58 |
+files/1.3.2-gentoo.patch, +files/1.3.2-missing_includes.patch, |
59 |
+metadata.xml, +poco-1.3.2.ebuild: |
60 |
Initial commit (bug #162846), ebuild written by me. |
61 |
|
62 |
|
63 |
|
64 |
|
65 |
1.1 dev-libs/poco/poco-1.3.2.ebuild |
66 |
|
67 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/poco-1.3.2.ebuild?rev=1.1&view=markup |
68 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/poco-1.3.2.ebuild?rev=1.1&content-type=text/plain |
69 |
|
70 |
Index: poco-1.3.2.ebuild |
71 |
=================================================================== |
72 |
# Copyright 1999-2008 Gentoo Foundation |
73 |
# Distributed under the terms of the GNU General Public License v2 |
74 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/poco-1.3.2.ebuild,v 1.1 2008/06/29 01:20:59 dev-zero Exp $ |
75 |
|
76 |
EAPI="1" |
77 |
|
78 |
inherit eutils toolchain-funcs flag-o-matic |
79 |
|
80 |
DESCRIPTION="C++ class libraries that simplify and accelerate the development of network-centric, portable applications." |
81 |
HOMEPAGE="http://pocoproject.org/" |
82 |
SRC_URI="mirror://sourceforge/poco/${P}-data.tar.bz2 |
83 |
doc? ( mirror://sourceforge/poco/${P}-doc.tar.gz )" |
84 |
LICENSE="Boost-1.0" |
85 |
SLOT="0" |
86 |
KEYWORDS="~amd64" |
87 |
IUSE="doc examples iodbc odbc sqlite ssl" |
88 |
|
89 |
DEPEND="dev-libs/libpcre |
90 |
odbc? ( iodbc? ( dev-db/libiodbc ) |
91 |
!iodbc? ( dev-db/unixODBC ) ) |
92 |
ssl? ( dev-libs/openssl ) |
93 |
sqlite? ( dev-db/sqlite:3 )" |
94 |
RDEPEND="${DEPEND}" |
95 |
|
96 |
# Upstream has three editions: "economic", "with NetSSL" and "with NetSSL and Data" |
97 |
# We take the last one and provide useflags for ssl, odbc, sqlite |
98 |
S="${WORKDIR}/${P}-data" |
99 |
|
100 |
src_unpack() { |
101 |
unpack ${A} |
102 |
cd "${S}" |
103 |
|
104 |
epatch \ |
105 |
"${FILESDIR}/${PV}-missing_includes.patch" \ |
106 |
"${FILESDIR}/${PV}-gentoo.patch" |
107 |
|
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
local targets="all" |
112 |
local odbc="unixodbc" |
113 |
|
114 |
if use ssl; then |
115 |
targets="${targets} NetSSL_OpenSSL-libexec" |
116 |
echo NetSSL_OpenSSL >> components |
117 |
fi |
118 |
if use odbc; then |
119 |
targets="${targets} Data/ODBC-libexec" |
120 |
echo Data/ODBC >> components |
121 |
if use iodbc; then |
122 |
append-flags "-I/usr/include/iodbc" |
123 |
odbc="iodbc" |
124 |
fi |
125 |
fi |
126 |
if use sqlite; then |
127 |
targets="${targets} Data/SQLite-libexec" |
128 |
echo Data/SQLite >> components |
129 |
fi |
130 |
|
131 |
if has test ${FEATURES}; then |
132 |
targets="${targets} cppunit tests" |
133 |
echo CppUnit >> components |
134 |
use ssl && targets="${targets} NetSSL_OpenSSL-tests" |
135 |
use odbc && targets="${targets} Data/ODBC-tests" |
136 |
use sqlite && targets="${targets} Data/SQLite-tests" |
137 |
fi |
138 |
|
139 |
# not autoconf |
140 |
./configure \ |
141 |
--no-samples \ |
142 |
--prefix=/usr \ |
143 |
|| die "configure failed" |
144 |
|
145 |
sed -i \ |
146 |
-e "s|CC = .*|CC = $(tc-getCC)|" \ |
147 |
-e "s|CXX = .*|CXX = $(tc-getCXX)|" \ |
148 |
-e "s|RANLIB = .*|RANLIB = $(tc-getRANLIB)|" \ |
149 |
-e "s|LIB = ar|LIB = $(tc-getAR)|" \ |
150 |
-e "s|STRIP = .*|STRIP = /usr/bin/true|" \ |
151 |
-e "s|CFLAGS = |CFLAGS = ${CFLAGS}|" \ |
152 |
-e "s|CXXFLAGS = |CXXFLAGS = ${CXXFLAGS} |" \ |
153 |
-e "s|LINKFLAGS = |LINKFLAGS = ${LDFLAG} |" \ |
154 |
-e 's|-O2||g' \ |
155 |
build/config/Linux build/config/FreeBSD || die "sed failed" |
156 |
|
157 |
emake POCO_PREFIX=/usr GENTOO_ODBC="${odbc}" LIBDIR="$(get_libdir)" ${targets} || die "emake failed" |
158 |
} |
159 |
|
160 |
src_install() { |
161 |
emake POCO_PREFIX=/usr LIBDIR="$(get_libdir)" DESTDIR="${D}" install || die "emake install failed" |
162 |
|
163 |
dodoc CHANGELOG CONTRIBUTORS NEWS README |
164 |
|
165 |
use doc && dohtml -r "${WORKDIR}/${P}-doc"/* |
166 |
|
167 |
if use examples ; then |
168 |
for d in Net XML Data Util NetSSL_OpenSSL Foundation ; do |
169 |
insinto /usr/share/doc/${PF}/examples/${d} |
170 |
doins -r ${d}/samples |
171 |
done |
172 |
find "${D}/usr/share/doc/${PF}/examples" \ |
173 |
-iname "*.sln" -or -iname "*.vcproj" -or \ |
174 |
-iname "*.vmsbuild" -or -iname "*.properties" \ |
175 |
| xargs rm |
176 |
fi |
177 |
} |
178 |
|
179 |
|
180 |
|
181 |
1.1 dev-libs/poco/Manifest |
182 |
|
183 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/Manifest?rev=1.1&view=markup |
184 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/poco/Manifest?rev=1.1&content-type=text/plain |
185 |
|
186 |
Index: Manifest |
187 |
=================================================================== |
188 |
AUX 1.3.2-gentoo.patch 2922 RMD160 b9c35edb408f399fdb92c5d19026b8916bd8b679 SHA1 19485d5462cf65b5facae005bfdbf958c4bf3e09 SHA256 1f772c61bb2ae956c8a0b2f20dd73b2c8fb08534a7cb2ba943abbf43cb09af4d |
189 |
AUX 1.3.2-missing_includes.patch 2230 RMD160 83088a2083862d6d1c864c8a08a031886a04b46a SHA1 6e525719f39a20adb92754a22f1c1d16f667839d SHA256 32e7694a2b2d937b402f84ba6336575796326078665d670137ef442d38bb032f |
190 |
DIST poco-1.3.2-data.tar.bz2 1737200 RMD160 73112ddd532b093bd55bb611759ce96c39395e52 SHA1 b8d884beab455b63c9edc0c60bf4c11b504ccf7a SHA256 f078b5f88b0cd29bcbb77f5d903240025f6c35e225a1e707df1c62ac281b2951 |
191 |
DIST poco-1.3.2-doc.tar.gz 800076 RMD160 813f8b0ce8cb18269c5fcbf1c577375bca7db0c4 SHA1 cbf72f9cfbb624f28978f3d752cba7d4dc471ce6 SHA256 256c4c1becb1119ee0207360c8c0013b69744c0c4765ea2bd29b1695122196b9 |
192 |
EBUILD poco-1.3.2.ebuild 2963 RMD160 83672e445f482337d5101d8ea42f6e06294a84cb SHA1 44dd288b62d89801cfd7c1ac787c14408d7acd94 SHA256 c506baec300bdb7ee7371ca619fe99b1c80bbc989bfd5ab819708249e84d1835 |
193 |
MISC ChangeLog 352 RMD160 e5e75ab0d0cc8d8777efae799ea7149b076e1918 SHA1 c6c2252613b6a6b5d6e70ca805528f8a41c41236 SHA256 0ce201ae34a2fe736490b4c8125e292319517cfb6866a34da203df3595502ed3 |
194 |
MISC metadata.xml 1214 RMD160 ad53912d3b0bfe957afb93f48a14acb8a63065ac SHA1 0540a52d1fb89cb295e74a76ff82b5a9aa9e17d2 SHA256 db4e1800aef5727137536db629841d0fe719018f9c5cb7fd8dd332fbe8c78e1c |
195 |
|
196 |
|
197 |
|
198 |
-- |
199 |
gentoo-commits@l.g.o mailing list |