diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2006-06-24 23:37:17 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2006-06-24 23:37:17 +0000 |
commit | b9e7dd56d21ea916f3c7648c41a584d38e72b9b9 (patch) | |
tree | d8abb58216bedf962804d405076d8fa70c76b338 | |
parent | New USE-flags for dev-util/mockpp added (diff) | |
download | sunrise-reviewed-b9e7dd56d21ea916f3c7648c41a584d38e72b9b9.tar.gz sunrise-reviewed-b9e7dd56d21ea916f3c7648c41a584d38e72b9b9.tar.bz2 sunrise-reviewed-b9e7dd56d21ea916f3c7648c41a584d38e72b9b9.zip |
New mockpp Ebuild added for bug 85687
svn path=/sunrise/; revision=251
-rw-r--r-- | dev-util/mockpp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/mockpp/Manifest | 20 | ||||
-rw-r--r-- | dev-util/mockpp/files/1.11.5-boost_incdir_m4.patch | 11 | ||||
-rw-r--r-- | dev-util/mockpp/files/1.11.5-destdir.patch | 76 | ||||
-rw-r--r-- | dev-util/mockpp/files/digest-mockpp-1.11.5 | 3 | ||||
-rw-r--r-- | dev-util/mockpp/mockpp-1.11.5.ebuild | 50 |
6 files changed, 167 insertions, 0 deletions
diff --git a/dev-util/mockpp/ChangeLog b/dev-util/mockpp/ChangeLog new file mode 100644 index 000000000..606e883a9 --- /dev/null +++ b/dev-util/mockpp/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-util/mockpp +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 24 Jun 2006; Tiziano Müller <gentoo@dev-zero.ch> ChangeLog: + New ebuild for bug 85687 + diff --git a/dev-util/mockpp/Manifest b/dev-util/mockpp/Manifest new file mode 100644 index 000000000..edc95aded --- /dev/null +++ b/dev-util/mockpp/Manifest @@ -0,0 +1,20 @@ +AUX 1.11.5-boost_incdir_m4.patch 540 RMD160 79d0157ec107f94f8fab3d6e1637498e92c09c58 SHA1 ee4cd3fb86b02ad453c2821934bffe314fb04564 SHA256 80ec1913e8216249cfb9796b2ac19b63b2e5829851bf4b11ef6d4a01562ddab4 +MD5 dc336da8a91fc3de4dfda2e1e7d89c17 files/1.11.5-boost_incdir_m4.patch 540 +RMD160 79d0157ec107f94f8fab3d6e1637498e92c09c58 files/1.11.5-boost_incdir_m4.patch 540 +SHA256 80ec1913e8216249cfb9796b2ac19b63b2e5829851bf4b11ef6d4a01562ddab4 files/1.11.5-boost_incdir_m4.patch 540 +AUX 1.11.5-destdir.patch 3289 RMD160 ea1d9ed7b82f466979d139efcb8daef1bc09250e SHA1 ed5a85322640d5e6e8469afc14eb639d0b9b174e SHA256 584d49ddade3ca1d47456e1c6b06f7a99cc006a1f042e312a87896b2db8532fc +MD5 23152fb169c5bfca2c7aa4088e5e5522 files/1.11.5-destdir.patch 3289 +RMD160 ea1d9ed7b82f466979d139efcb8daef1bc09250e files/1.11.5-destdir.patch 3289 +SHA256 584d49ddade3ca1d47456e1c6b06f7a99cc006a1f042e312a87896b2db8532fc files/1.11.5-destdir.patch 3289 +DIST mockpp-1.11.5-src.tar.bz2 678774 RMD160 ebdc90308409a83944c2a4afd0c333dcf88b0d41 SHA1 87cdb0baf2bfbd26ddf5932795444688276d4c0c SHA256 9ad2a177a931418c8b8d3987debe782acbe8cae61c82274a3d3450f7ccf83476 +EBUILD mockpp-1.11.5.ebuild 1265 RMD160 b1ffc4ecab26a1ebbffde49a18dbade0e14350c4 SHA1 5e43a003fe3e117c95a26955f620c944bb80b6a6 SHA256 256a9b9bd67bfee8ef7247a4c61799dba85b91701e6281b7ec802234661a007a +MD5 c7bca8e2f534864c697b1196ca3c8192 mockpp-1.11.5.ebuild 1265 +RMD160 b1ffc4ecab26a1ebbffde49a18dbade0e14350c4 mockpp-1.11.5.ebuild 1265 +SHA256 256a9b9bd67bfee8ef7247a4c61799dba85b91701e6281b7ec802234661a007a mockpp-1.11.5.ebuild 1265 +MISC ChangeLog 207 RMD160 a2d59aaf3ad32ef3db1d358ee9798a7b2cb4e796 SHA1 f00eb01d1f637d597e03ddc91f11d3e8cc837670 SHA256 19226ca379f0755eb3ba78f8978ebf0e30ba370431ef8e71d7bff4b52311fea9 +MD5 cfb210ded944511d1b69ec70ef47de41 ChangeLog 207 +RMD160 a2d59aaf3ad32ef3db1d358ee9798a7b2cb4e796 ChangeLog 207 +SHA256 19226ca379f0755eb3ba78f8978ebf0e30ba370431ef8e71d7bff4b52311fea9 ChangeLog 207 +MD5 8d5471184c8c33d317dc2abab45c8899 files/digest-mockpp-1.11.5 256 +RMD160 853edeb037057ebef84f0133ac4f8b405c6c322e files/digest-mockpp-1.11.5 256 +SHA256 a1e9f1fd34318ae5c5ca5ed56e479dd7caf0875aa0ac4a7a01e8eb6c61005bfb files/digest-mockpp-1.11.5 256 diff --git a/dev-util/mockpp/files/1.11.5-boost_incdir_m4.patch b/dev-util/mockpp/files/1.11.5-boost_incdir_m4.patch new file mode 100644 index 000000000..c84b80b08 --- /dev/null +++ b/dev-util/mockpp/files/1.11.5-boost_incdir_m4.patch @@ -0,0 +1,11 @@ +--- mockpp-1.11.5/config/ac_cxx_boosttest.m4 2006-01-01 18:15:43.000000000 +0100 ++++ mockpp-1.11.5.new/config/ac_cxx_boosttest.m4 2006-06-24 21:44:44.000000000 +0200 +@@ -4,7 +4,7 @@ + + AC_ARG_ENABLE(boostdir, [ --boost-dir directory where the root of the Boost headers is located], [boostdir=NO]) + +-boost_inc_dirs="/usr/include/boost-* /usr/local/include/boost-*" ++boost_inc_dirs="/usr/include/boost-* /usr/local/include/boost-* /usr/include" + if test x$boostdir != xNO; then + boost_inc_dirs="$boost_inc_dirs $boostdir" + fi diff --git a/dev-util/mockpp/files/1.11.5-destdir.patch b/dev-util/mockpp/files/1.11.5-destdir.patch new file mode 100644 index 000000000..caca8ec30 --- /dev/null +++ b/dev-util/mockpp/files/1.11.5-destdir.patch @@ -0,0 +1,76 @@ +diff -Naur mockpp-1.11.5/Makefile.am mockpp-1.11.5.new/Makefile.am +--- mockpp-1.11.5/Makefile.am 2006-04-26 22:01:19.000000000 +0200 ++++ mockpp-1.11.5.new/Makefile.am 2006-06-24 21:51:29.000000000 +0200 +@@ -11,12 +11,6 @@ + mockpp.doxygen.in \ + mockpp.kdevses \ + mockpp.kdevelop \ +- AUTHORS \ +- COPYING \ +- ChangeLog \ +- INSTALL \ +- README \ +- TODO \ + Makefile.cvs \ + mockpp.lsm \ + gen_files_N.sh \ +@@ -95,7 +89,5 @@ + htmldir = $(pkgdatadir)/html + + install-data-hook: +- $(mkdir_p) $(htmldir) +- $(INSTALL) $(srcdir)/AUTHORS $(srcdir)/COPYING $(srcdir)/README $(srcdir)/ChangeLog $(pkgdatadir) + + ################################################################# +diff -Naur mockpp-1.11.5/mockpp/docs/api/Makefile.am mockpp-1.11.5.new/mockpp/docs/api/Makefile.am +--- mockpp-1.11.5/mockpp/docs/api/Makefile.am 2005-11-19 21:21:24.000000000 +0100 ++++ mockpp-1.11.5.new/mockpp/docs/api/Makefile.am 2006-06-24 22:35:12.000000000 +0200 +@@ -52,9 +52,9 @@ + if DOXYGEN_DOC + + install-data-hook: doc +- $(mkdir_p) $(DESTDIR)$(htmldir)/api-doc +- -find html | xargs -n 1 cp -v -t $(DESTDIR)$(htmldir)/api-doc +-# $(INSTALL) html/* $(DESTDIR)$(htmldir)/api-doc ++ $(mkdir_p) $(DESTDIR)/$(DOCDIR)/api-doc ++ -find html | xargs -n 1 cp -v -t $(DESTDIR)/$(DOCDIR)/api-doc ++# $(INSTALL) html/* $(DESTDIR)/$(DOCDIR)/api-doc + + else + +diff -Naur mockpp-1.11.5/mockpp/docs/en/Makefile.am mockpp-1.11.5.new/mockpp/docs/en/Makefile.am +--- mockpp-1.11.5/mockpp/docs/en/Makefile.am 2006-04-08 18:49:52.000000000 +0200 ++++ mockpp-1.11.5.new/mockpp/docs/en/Makefile.am 2006-06-24 22:36:10.000000000 +0200 +@@ -80,12 +80,12 @@ + if DOCBOOK_DOC + + install-data-hook: doc +- $(mkdir_p) $(DESTDIR)$(htmldir)/handbook/common +- $(mkdir_p) $(DESTDIR)$(htmldir)/handbook/images/callouts +- $(INSTALL) var/*.html $(DESTDIR)$(htmldir)/handbook +- $(INSTALL) $(srcdir)/common/*.css $(DESTDIR)$(htmldir)/handbook/common +- $(INSTALL) $(srcdir)/images/*.png $(DESTDIR)$(htmldir)/handbook/images +- $(INSTALL) $(srcdir)/images/callouts/*.png $(DESTDIR)$(htmldir)/handbook/images/callouts ++ $(mkdir_p) $(DESTDIR)/$(DOCDIR)/handbook/common ++ $(mkdir_p) $(DESTDIR)/$(DOCDIR)/handbook/images/callouts ++ $(INSTALL) var/*.html $(DESTDIR)/$(DOCDIR)/handbook ++ $(INSTALL) $(srcdir)/common/*.css $(DESTDIR)/$(DOCDIR)/handbook/common ++ $(INSTALL) $(srcdir)/images/*.png $(DESTDIR)/$(DOCDIR)/handbook/images ++ $(INSTALL) $(srcdir)/images/callouts/*.png $(DESTDIR)/$(DOCDIR)/handbook/images/callouts + + else + +diff -Naur mockpp-1.11.5/mockpp/examples/tutorial/Makefile.am mockpp-1.11.5.new/mockpp/examples/tutorial/Makefile.am +--- mockpp-1.11.5/mockpp/examples/tutorial/Makefile.am 2005-11-19 20:17:51.000000000 +0100 ++++ mockpp-1.11.5.new/mockpp/examples/tutorial/Makefile.am 2006-06-24 22:41:04.000000000 +0200 +@@ -88,8 +88,8 @@ + if DOXYGEN_DOC + + install-data-hook: tutorial +- $(mkdir_p) $(htmldir)/tutorial +- $(INSTALL) html/* $(htmldir)/tutorial ++ $(mkdir_p) $(DESTDIR)/$(DOCDIR)/tutorial ++ $(INSTALL) html/* $(DESTDIR)/$(DOCDIR)/tutorial + + else + diff --git a/dev-util/mockpp/files/digest-mockpp-1.11.5 b/dev-util/mockpp/files/digest-mockpp-1.11.5 new file mode 100644 index 000000000..e87afdacc --- /dev/null +++ b/dev-util/mockpp/files/digest-mockpp-1.11.5 @@ -0,0 +1,3 @@ +MD5 7b7effb649207803e4de2d0bc11519d7 mockpp-1.11.5-src.tar.bz2 678774 +RMD160 ebdc90308409a83944c2a4afd0c333dcf88b0d41 mockpp-1.11.5-src.tar.bz2 678774 +SHA256 9ad2a177a931418c8b8d3987debe782acbe8cae61c82274a3d3450f7ccf83476 mockpp-1.11.5-src.tar.bz2 678774 diff --git a/dev-util/mockpp/mockpp-1.11.5.ebuild b/dev-util/mockpp/mockpp-1.11.5.ebuild new file mode 100644 index 000000000..0a4072638 --- /dev/null +++ b/dev-util/mockpp/mockpp-1.11.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils autotools + +DESCRIPTION="mockpp is a platform independent generic unit testing framework for C++." +HOMEPAGE="http://mockpp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="boost cppunit doc" + +RDEPEND="cppunit? ( dev-util/cppunit ) + boost? ( dev-libs/boost )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen + app-text/docbook-xml-dtd )" + +pkg_setup() { + if (use boost) && (use cppunit); then + ewarn + ewarn "Both boost and cppunit use-flags specified, will use boost" + ewarn + fi +} + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${PV}-destdir.patch" + epatch "${FILESDIR}/${PV}-boost_incdir_m4.patch" + cd "${S}" + eautoreconf || die "eautoreconf failed" +} + +src_compile() { + econf $(use_enable cppunit) \ + $(use_enable boost boosttest) \ + $(use_enable doc doxygen) \ + $(use_enable doc docbook) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + # docs get build & installed only if doc use-flag is specified + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install || die "emake install failed" + dodoc ChangeLog AUTHORS README TODO +} |