1 |
tommy 13/09/01 11:14:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: poco-1.4.6_p1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.1-r1/cvs/Linux x86_64, signed Manifest commit with key 0x35899067) |
9 |
|
10 |
Revision Changes Path |
11 |
1.22 dev-libs/poco/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/ChangeLog?rev=1.22&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/ChangeLog?rev=1.22&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/ChangeLog?r1=1.21&r2=1.22 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v |
20 |
retrieving revision 1.21 |
21 |
retrieving revision 1.22 |
22 |
diff -u -r1.21 -r1.22 |
23 |
--- ChangeLog 21 Dec 2012 13:15:07 -0000 1.21 |
24 |
+++ ChangeLog 1 Sep 2013 11:14:43 -0000 1.22 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-libs/poco |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v 1.21 2012/12/21 13:15:07 tommy Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v 1.22 2013/09/01 11:14:43 tommy Exp $ |
31 |
+ |
32 |
+*poco-1.4.6_p1 (01 Sep 2013) |
33 |
+ |
34 |
+ 01 Sep 2013; Thomas Sachau (Tommy[D]) <tommy@g.o> |
35 |
+ +poco-1.4.6_p1.ebuild: |
36 |
+ Version bump |
37 |
|
38 |
*poco-1.4.5-r1 (21 Dec 2012) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/poco/poco-1.4.6_p1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/poco-1.4.6_p1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/poco-1.4.6_p1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: poco-1.4.6_p1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/poco-1.4.6_p1.ebuild,v 1.1 2013/09/01 11:14:43 tommy Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit eutils toolchain-funcs flag-o-matic multilib versionator |
57 |
|
58 |
MY_P="${P/_}" |
59 |
MY_DOCP="${PN}-$(get_version_component_range 1-3)-all-doc" |
60 |
|
61 |
DESCRIPTION="C++ class libraries that simplify and accelerate the development of network-centric, portable applications" |
62 |
HOMEPAGE="http://pocoproject.org/" |
63 |
SRC_URI="mirror://sourceforge/poco/${MY_P}-all.tar.bz2 |
64 |
doc? ( mirror://sourceforge/poco/${MY_DOCP}.zip )" |
65 |
LICENSE="Boost-1.0" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~arm ~x86" |
68 |
IUSE="doc examples iodbc mysql odbc sqlite ssl test" |
69 |
|
70 |
DEPEND=">=dev-libs/libpcre-8.13 |
71 |
dev-libs/expat |
72 |
sys-libs/zlib |
73 |
mysql? ( virtual/mysql ) |
74 |
odbc? ( iodbc? ( dev-db/libiodbc ) |
75 |
!iodbc? ( dev-db/unixODBC ) ) |
76 |
ssl? ( dev-libs/openssl ) |
77 |
sqlite? ( dev-db/sqlite:3 )" |
78 |
RDEPEND="${DEPEND}" |
79 |
|
80 |
S="${WORKDIR}/${MY_P}-all" |
81 |
|
82 |
src_prepare() { |
83 |
epatch \ |
84 |
"${FILESDIR}"/${PV}-gentoo.patch \ |
85 |
"${FILESDIR}"/poco-1.4.4-patch-for-libpcre-8.32.patch |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
targets="libexecs" |
90 |
odbc="unixodbc" |
91 |
|
92 |
if use ssl; then |
93 |
targets="${targets} NetSSL_OpenSSL-libexec Crypto-libexec" |
94 |
echo NetSSL_OpenSSL >> components |
95 |
echo Crypto >> components |
96 |
fi |
97 |
if use odbc; then |
98 |
targets="${targets} Data/ODBC-libexec" |
99 |
echo Data/ODBC >> components |
100 |
if use iodbc; then |
101 |
append-flags "-I/usr/include/iodbc" |
102 |
odbc="iodbc" |
103 |
fi |
104 |
fi |
105 |
if use sqlite; then |
106 |
targets="${targets} Data/SQLite-libexec" |
107 |
echo Data/SQLite >> components |
108 |
fi |
109 |
if use mysql; then |
110 |
targets="${targets} Data/MySQL-libexec" |
111 |
echo Data/MySQL >> components |
112 |
fi |
113 |
|
114 |
if use test; then |
115 |
targets="${targets} cppunit tests" |
116 |
echo CppUnit >> components |
117 |
use ssl && targets="${targets} NetSSL_OpenSSL-tests Crypto-tests" |
118 |
use odbc && targets="${targets} Data/ODBC-tests" |
119 |
use sqlite && targets="${targets} Data/SQLite-tests" |
120 |
use mysql && targets="${targets} Data/MySQL-tests" |
121 |
fi |
122 |
|
123 |
local myconf |
124 |
use test || myconf="--no-tests" |
125 |
# not autoconf |
126 |
./configure \ |
127 |
--no-samples ${myconf} \ |
128 |
--prefix=/usr \ |
129 |
--unbundled \ |
130 |
|| die "configure failed" |
131 |
|
132 |
sed -i \ |
133 |
-e 's|-O2||g' \ |
134 |
-e "s|CC = .*|CC = $(tc-getCC)|" \ |
135 |
-e "s|CXX = .*|CXX = $(tc-getCXX)|" \ |
136 |
-e "s|RANLIB = .*|RANLIB = $(tc-getRANLIB)|" \ |
137 |
-e "s|LIB = ar|LIB = $(tc-getAR)|" \ |
138 |
-e "s|STRIP = .*|STRIP = /bin/true|" \ |
139 |
-e "s|CFLAGS = |CFLAGS = ${CFLAGS}|" \ |
140 |
-e "s|CXXFLAGS = |CXXFLAGS = ${CXXFLAGS} |" \ |
141 |
-e "s|LINKFLAGS =|LINKFLAGS = ${LDFLAGS} |" \ |
142 |
-e "s|SHAREDOPT_LINK = -Wl,-rpath,\$(LIBPATH)|SHAREDOPT_LINK =|" \ |
143 |
build/config/Linux build/config/FreeBSD || die "sed failed" |
144 |
sed -i -e "s|SHLIBFLAGS)|SHLIBFLAGS) ${LDFLAGS}|" build/rules/lib || die |
145 |
} |
146 |
|
147 |
src_compile() { |
148 |
emake POCO_PREFIX=/usr GENTOO_ODBC="${odbc}" LIBDIR="$(get_libdir)" ${targets} || die "emake failed" |
149 |
} |
150 |
|
151 |
src_install() { |
152 |
emake POCO_PREFIX=/usr LIBDIR="$(get_libdir)" DESTDIR="${D}" install || die "emake install failed" |
153 |
|
154 |
dodoc CHANGELOG CONTRIBUTORS NEWS README |
155 |
|
156 |
use doc && dohtml -r "${WORKDIR}/${MY_DOCP}"/* |
157 |
|
158 |
if use examples ; then |
159 |
for d in Net XML Data Util NetSSL_OpenSSL Foundation ; do |
160 |
insinto /usr/share/doc/${PF}/examples/${d} |
161 |
doins -r ${d}/samples |
162 |
done |
163 |
find "${D}/usr/share/doc/${PF}/examples" \ |
164 |
-iname "*.sln" -or -iname "*.vcproj" -or \ |
165 |
-iname "*.vmsbuild" -or -iname "*.properties" \ |
166 |
| xargs rm |
167 |
fi |
168 |
} |