tommy       14/12/29 13:13:01

  Modified:             ChangeLog
  Added:                poco-1.4.6_p4.ebuild
  Log:
  Version bump, bug 508720
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
0x35899067)

Revision  Changes    Path
1.29                 dev-libs/poco/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/ChangeLog?rev=1.29&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/ChangeLog?rev=1.29&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/ChangeLog?r1=1.28&r2=1.29

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog   10 Aug 2014 20:38:45 -0000      1.28
+++ ChangeLog   29 Dec 2014 13:13:01 -0000      1.29
@@ -1,6 +1,12 @@
 # ChangeLog for dev-libs/poco
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v 1.28 2014/08/10 
20:38:45 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/poco/ChangeLog,v 1.29 2014/12/29 
13:13:01 tommy Exp $
+
+*poco-1.4.6_p4 (29 Dec 2014)
+
+  29 Dec 2014; Thomas Sachau (Tommy[D]) <to...@gentoo.org>
+  +files/1.4.6_p4-gentoo.patch, +poco-1.4.6_p4.ebuild:
+  Version bump, bug 508720
 
   10 Aug 2014; Sergei Trofimovich <sly...@gentoo.org> poco-1.3.3_p1.ebuild,
   poco-1.3.6_p2.ebuild, poco-1.4.3_p1.ebuild, poco-1.4.5-r1.ebuild,



1.1                  dev-libs/poco/poco-1.4.6_p4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/poco/poco-1.4.6_p4.ebuild?rev=1.1&view=markup
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

Index: poco-1.4.6_p4.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI="5"

inherit eutils toolchain-funcs flag-o-matic multilib versionator

MY_P="${P/_}"
MY_DOCP="${PN}-$(get_version_component_range 1-3)-all-doc"

DESCRIPTION="C++ class libraries to simplify the development of 
network-centric, portable applications"
HOMEPAGE="http://pocoproject.org/";
SRC_URI="http://pocoproject.org/releases/poco-$(get_version_component_range 
1-3)/${MY_P}-all.tar.bz2
        doc? ( mirror://sourceforge/poco/${MY_DOCP}.zip )"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="doc examples iodbc mysql odbc sqlite ssl test"

DEPEND=">=dev-libs/libpcre-8.13
        dev-libs/expat
        sys-libs/zlib
        mysql? ( virtual/mysql )
        odbc? ( iodbc? ( dev-db/libiodbc )
                !iodbc? ( dev-db/unixODBC ) )
        ssl? ( dev-libs/openssl )
        sqlite? ( dev-db/sqlite:3 )"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}-all"

src_prepare() {
        epatch \
                "${FILESDIR}"/${PV}-gentoo.patch \
                "${FILESDIR}"/poco-1.4.4-patch-for-libpcre-8.32.patch
}

src_configure() {
        targets="libexecs"
        odbc="unixodbc"

        if use ssl; then
                targets="${targets} NetSSL_OpenSSL-libexec Crypto-libexec"
                echo NetSSL_OpenSSL >> components
                echo Crypto >> components
        fi
        if use odbc; then
                targets="${targets} Data/ODBC-libexec"
                echo Data/ODBC >> components
                if use iodbc; then
                        append-flags "-I/usr/include/iodbc"
                        odbc="iodbc"
                fi
        fi
        if use sqlite; then
                targets="${targets} Data/SQLite-libexec"
                echo Data/SQLite >> components
        fi
        if use mysql; then
                targets="${targets} Data/MySQL-libexec"
                echo Data/MySQL >> components
        fi

        if use test; then
                targets="${targets} cppunit tests"
                echo CppUnit >> components
                use ssl && targets="${targets} NetSSL_OpenSSL-tests 
Crypto-tests"
                use odbc && targets="${targets} Data/ODBC-tests"
                use sqlite && targets="${targets} Data/SQLite-tests"
                use mysql && targets="${targets} Data/MySQL-tests"
        fi

        local myconf
        use test || myconf="--no-tests"
        # not autoconf
        ./configure \
                --no-samples ${myconf} \
                --prefix=/usr \
                --unbundled \
                || die "configure failed"

        sed -i \
                -e 's|-O2||g' \
                -e "s|CC      = .*|CC      = $(tc-getCC)|" \
                -e "s|CXX     = .*|CXX     = $(tc-getCXX)|" \
                -e "s|RANLIB  = .*|RANLIB  = $(tc-getRANLIB)|" \
                -e "s|LIB     = ar|LIB     = $(tc-getAR)|" \
                -e "s|STRIP   = .*|STRIP   = /bin/true|" \
                -e "s|CFLAGS          = |CFLAGS          = ${CFLAGS}|" \
                -e "s|CXXFLAGS        = |CXXFLAGS        = ${CXXFLAGS} |" \
                -e "s|LINKFLAGS       =|LINKFLAGS       = ${LDFLAGS} |" \
                -e "s|SHAREDOPT_LINK  = -Wl,-rpath,\$(LIBPATH)|SHAREDOPT_LINK  
=|" \
                build/config/Linux build/config/FreeBSD || die "sed failed"
        sed -i -e "s|SHLIBFLAGS)|SHLIBFLAGS) ${LDFLAGS}|" build/rules/lib || die
}

src_compile() {
        emake POCO_PREFIX=/usr GENTOO_ODBC="${odbc}" LIBDIR="$(get_libdir)" 
${targets} || die "emake failed"
}

src_install() {
        emake POCO_PREFIX=/usr LIBDIR="$(get_libdir)" DESTDIR="${D}" install || 
die "emake install failed"

        dodoc CHANGELOG CONTRIBUTORS NEWS README

        use doc && dohtml -r "${WORKDIR}/${MY_DOCP}"/*

        if use examples ; then
                for d in Net XML Data Util NetSSL_OpenSSL Foundation ; do
                        insinto /usr/share/doc/${PF}/examples/${d}
                        doins -r ${d}/samples
                done
                find "${D}/usr/share/doc/${PF}/examples" \
                        -iname "*.sln" -or -iname "*.vcproj" -or \
                        -iname "*.vmsbuild" -or -iname "*.properties" \
                        | xargs rm
        fi
}




Reply via email to