diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2007-10-13 08:04:39 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2007-10-13 08:04:39 +0000 |
commit | 7791900f9b12dddaaf7935d1ab60b6cd9ba9d857 (patch) | |
tree | 940d144c60db0fac7cb48bc9dc739df787cf51b0 /dev-libs/log4cpp | |
parent | Fixed quoting issues. (diff) | |
download | gentoo-2-7791900f9b12dddaaf7935d1ab60b6cd9ba9d857.tar.gz gentoo-2-7791900f9b12dddaaf7935d1ab60b6cd9ba9d857.tar.bz2 gentoo-2-7791900f9b12dddaaf7935d1ab60b6cd9ba9d857.zip |
Version bump.
(Portage version: 2.1.3.12)
Diffstat (limited to 'dev-libs/log4cpp')
-rw-r--r-- | dev-libs/log4cpp/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/log4cpp/files/1.0-doc_install_path.patch | 38 | ||||
-rw-r--r-- | dev-libs/log4cpp/files/digest-log4cpp-1.0 | 3 | ||||
-rw-r--r-- | dev-libs/log4cpp/log4cpp-1.0.ebuild | 43 |
4 files changed, 92 insertions, 2 deletions
diff --git a/dev-libs/log4cpp/ChangeLog b/dev-libs/log4cpp/ChangeLog index 71814ba20a37..a9e4920c3192 100644 --- a/dev-libs/log4cpp/ChangeLog +++ b/dev-libs/log4cpp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/log4cpp -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cpp/ChangeLog,v 1.13 2006/10/18 19:45:22 dev-zero Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cpp/ChangeLog,v 1.14 2007/10/13 08:04:38 dev-zero Exp $ + +*log4cpp-1.0 (13 Oct 2007) + + 13 Oct 2007; Tiziano Müller <dev-zero@gentoo.org> + +files/1.0-doc_install_path.patch, +log4cpp-1.0.ebuild: + Version bump. 18 Oct 2006; Tiziano Müller <dev-zero@gentoo.org> ChangeLog: Version bump. More corrections to correctly install docs with new version. diff --git a/dev-libs/log4cpp/files/1.0-doc_install_path.patch b/dev-libs/log4cpp/files/1.0-doc_install_path.patch new file mode 100644 index 000000000000..8f9ef5137619 --- /dev/null +++ b/dev-libs/log4cpp/files/1.0-doc_install_path.patch @@ -0,0 +1,38 @@ +--- doc/Makefile.am.orig 2007-10-13 09:39:44.000000000 +0200 ++++ doc/Makefile.am 2007-10-13 09:40:03.000000000 +0200 +@@ -1,7 +1,7 @@ + SUBDIRS = html + + man3dir = $(mandir)/man3 +-docdir = $(prefix)/doc/@PACKAGE_TARNAME@-@PACKAGE_VERSION@ ++docdir = $(prefix)/share/doc/@PACKAGE_TARNAME@-@PACKAGE_VERSION@ + + EXTRA_DIST = \ + mainPage.txt +@@ -22,18 +22,18 @@ + + + install-data-local: +- $(mkinstalldirs) $(man3dir) ++ $(mkinstalldirs) $(DESTDIR)/$(man3dir) + @for i in ./man/man3/log4cpp.3 ./man/man3/log4cpp_*.3; do \ + inst=`basename $$i | sed 's/_/::/g'`; \ + echo "$(INSTALL_DATA) $$i$(man3dir)/$$inst"; \ +- $(INSTALL_DATA) $$i $(man3dir)/$$inst; \ ++ $(INSTALL_DATA) $$i $(DESTDIR)/$(man3dir)/$$inst; \ + done +- $(mkinstalldirs) $(docdir) +- cp -r html/. $(docdir) +- $(RM) -r -f $(docdir)/CVS \ +- $(docdir)/Makefile.am \ +- $(docdir)/Makefile.in \ +- $(docdir)/Makefile ++ $(mkinstalldirs) $(DESTDIR)/$(docdir) ++ cp -r html/. $(DESTDIR)/$(docdir) ++ $(RM) -r -f $(DESTDIR)/$(docdir)/CVS \ ++ $(DESTDIR)/$(docdir)/Makefile.am \ ++ $(DESTDIR)/$(docdir)/Makefile.in \ ++ $(DESTDIR)/$(docdir)/Makefile + + uninstall-local: + $(RM) $(man3dir)/log4cpp.3 diff --git a/dev-libs/log4cpp/files/digest-log4cpp-1.0 b/dev-libs/log4cpp/files/digest-log4cpp-1.0 new file mode 100644 index 000000000000..eaa4f2130f50 --- /dev/null +++ b/dev-libs/log4cpp/files/digest-log4cpp-1.0 @@ -0,0 +1,3 @@ +MD5 1face50ead0790d1297dfb04bacf273c log4cpp-1.0.tar.gz 495726 +RMD160 2ebc7c4bc0a77991023f4d85bdeee35ec6b75770 log4cpp-1.0.tar.gz 495726 +SHA256 b4533324b0a1f46ad74a9e92bf2caa46c246e9353059e1a835e735d41826ed19 log4cpp-1.0.tar.gz 495726 diff --git a/dev-libs/log4cpp/log4cpp-1.0.ebuild b/dev-libs/log4cpp/log4cpp-1.0.ebuild new file mode 100644 index 000000000000..11fb956edeab --- /dev/null +++ b/dev-libs/log4cpp/log4cpp-1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cpp/log4cpp-1.0.ebuild,v 1.1 2007/10/13 08:04:38 dev-zero Exp $ + +NEED_AUTOCONF="latest" +NEED_AUTOMAKE="latest" + +inherit autotools eutils + +KEYWORDS="~x86 ~ppc ~amd64 ~s390" + +DESCRIPTION="Library of C++ classes for flexible logging to files, syslog and other destinations." +HOMEPAGE="http://log4cpp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PV}-doc_install_path.patch" + + AT_M4DIR=m4 + eautoreconf +} + +src_compile() { + econf \ + --without-idsa \ + $(use_enable doc doxygen) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} |