diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-06-04 15:34:18 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-06-04 15:34:18 +0000 |
commit | d8db61f7a76c6c016a006ee8b471434707c96120 (patch) | |
tree | 290c2d327ec0fa02280713045869f4d9957c539c /dev-util/cmockery | |
parent | [bump] dev-perl/Test-WWW-Mechanize-1.320.0 (diff) | |
download | gentoo-2-d8db61f7a76c6c016a006ee8b471434707c96120.tar.gz gentoo-2-d8db61f7a76c6c016a006ee8b471434707c96120.tar.bz2 gentoo-2-d8db61f7a76c6c016a006ee8b471434707c96120.zip |
Initial import (bug #339070).
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/cmockery')
-rw-r--r-- | dev-util/cmockery/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/cmockery/cmockery-0.1.2.ebuild | 41 | ||||
-rw-r--r-- | dev-util/cmockery/metadata.xml | 9 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-util/cmockery/ChangeLog b/dev-util/cmockery/ChangeLog new file mode 100644 index 000000000000..8ac4931e87e6 --- /dev/null +++ b/dev-util/cmockery/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/cmockery +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmockery/ChangeLog,v 1.1 2011/06/04 15:34:18 radhermit Exp $ + +*cmockery-0.1.2 (04 Jun 2011) + + 04 Jun 2011; Tim Harder <radhermit@gentoo.org> +cmockery-0.1.2.ebuild, + +metadata.xml: + Initial import (bug #339070). + diff --git a/dev-util/cmockery/cmockery-0.1.2.ebuild b/dev-util/cmockery/cmockery-0.1.2.ebuild new file mode 100644 index 000000000000..af98ccc61ba9 --- /dev/null +++ b/dev-util/cmockery/cmockery-0.1.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmockery/cmockery-0.1.2.ebuild,v 1.1 2011/06/04 15:34:18 radhermit Exp $ + +EAPI=4 + +inherit autotools + +DESCRIPTION="A lightweight library to simplify writing unit tests for C applications" +HOMEPAGE="http://code.google.com/p/cmockery/" +SRC_URI="http://cmockery.googlecode.com/files/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples static-libs" + +DEPEND="" +RDEPEND="" + +src_prepare() { + sed -i -e "/dist_doc_DATA/{N;d}" Makefile.am + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + dohtml doc/* + + if use examples ; then + docinto examples + dodoc src/example/* + docompress -x /usr/share/doc/${PF}/examples + fi + + use static-libs || find "${D}" -name '*.la' -exec rm -f '{}' + +} diff --git a/dev-util/cmockery/metadata.xml b/dev-util/cmockery/metadata.xml new file mode 100644 index 000000000000..0ce86a2b9b52 --- /dev/null +++ b/dev-util/cmockery/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> |