-# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# ChangeLog for dev-libs/commoncpp2
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
# $Header:
+*commoncpp2-1.0.3 (27 Oct 2002)
+
+ 27 Oct 2002; foser <foser@gentoo.org> commoncpp2-1.0.3.ebuild :
+ New version
+
*commoncpp2-1.0.1 (03 Oct 2002)
03 Oct 2002; Matt Keadle <mkeadle@gentoo.org> commoncpp2-1.0.1:
This changelog is for the initial release of commoncpp2-1.0.1.ebuild which is
just a library needed for a few gnu applications. It is the new branch of
- commonc++. Thanks to foser (real name??) for the ebuild!
+ commonc++. Thanks to foser <foser@gentoo.org> for the ebuild!
--- /dev/null
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/commoncpp2/commoncpp2-1.0.3.ebuild,v 1.1 2002/10/27 19:36:04 foser Exp $
+
+IUSE="doc xml2"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GNU Common C++ is a C++ framework offering portable support for\
+threading, sockets, file access, daemons, persistence, serial I/O, XML parsing,\
+and system services"
+SRC_URI="mirror://gnu/commonc++/${P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/commonc++/"
+
+DEPEND="xml2? ( dev-libs/libxml2 )
+ doc? ( app-doc/doxygen )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+src_compile() {
+ local myconf=""
+
+ use xml2 \
+ && myconf="${myconf} --with-xml" \
+ || myconf="${myconf} --without-xml"
+
+ econf ${myconf} || die "./configure failed"
+
+ emake || die
+
+ # kdoc disabled for now, it errors out
+ use doc && make doxy
+}
+
+src_install () {
+
+ einstall || die
+
+ dodoc AUTHORS INSTALL NEWS ChangeLog README\
+ THANKS TODO COPYING COPYING.addendum
+
+ # the docs come out already compressed
+ use doc && ( \
+ dodoc commoncpp2-html-manual-1.0.1.tar.gz \
+ commoncpp2-latex-manual-1.0.1.tar.gz
+ )
+}