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