summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-04-12 18:39:41 +0200
committerJohannes Huber <johu@gentoo.org>2017-04-12 18:39:41 +0200
commit0ad4dce1db4a61484e3ee76f9dfe7c0ea853bc6d (patch)
tree078c2c53b1728ae7a679aa96bf63782e8cbf458f /dev-util/cmocka
parentkde-misc/krusader: Version bump 2.6.0 (diff)
downloadgentoo-0ad4dce1db4a61484e3ee76f9dfe7c0ea853bc6d.tar.gz
gentoo-0ad4dce1db4a61484e3ee76f9dfe7c0ea853bc6d.tar.bz2
gentoo-0ad4dce1db4a61484e3ee76f9dfe7c0ea853bc6d.zip
dev-util/cmocka: Version bump 1.1.1
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util/cmocka')
-rw-r--r--dev-util/cmocka/Manifest1
-rw-r--r--dev-util/cmocka/cmocka-1.1.1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/cmocka/Manifest b/dev-util/cmocka/Manifest
index 0da96051d050..def2375dbc75 100644
--- a/dev-util/cmocka/Manifest
+++ b/dev-util/cmocka/Manifest
@@ -1,2 +1,3 @@
DIST cmocka-1.0.1.tar.xz 80240 SHA256 b36050d7a1224296803d216cba1a9d4c58c31bf308b2d6d6649d61aa5a36753b SHA512 142b3293a8ab137904d07f1ac6a56daf0afbbfcf7816a582c9998b6225aa5d6fe5f2d1b889de7b187142fc24ca4d1cfdbd630e8783858bc9ce89217ff05abc1e WHIRLPOOL c733d08a4907242bce6e8fb6989934fa8c9ae333a6c9a746c8824001722a7897cebdf8c0501bfb22d2ad29536ab32b0d004e327a1ce7b7740c9d24c6a453d6f9
DIST cmocka-1.1.0.tar.xz 85132 SHA256 e960d3bf1be618634a4b924f18bb4d6f20a825c109a8ad6d1af03913ba421330 SHA512 b45b6c6bf6c1a0e12cbbfa203afc0172aa53215e0bd43a21b30db04c0490609a7a262f1b4d87be9df0c5c486c4f4891d3432e0e053418d373d9750a6cf5adf70 WHIRLPOOL 972f1fec0c850beac388d9c8e8ff549dd4fad086fd73463df3f718f81ed84e6b47cf3e9aee184c0d25aaa6bb8b86167113b7b24b4f3a1f90371b9a446a02b1db
+DIST cmocka-1.1.1.tar.xz 85648 SHA256 f02ef48a7039aa77191d525c5b1aee3f13286b77a13615d11bc1148753fc0389 SHA512 801c4a3e1bb9047241b1cb5a90c1cbdee1b0aff5e3d0a84ec8b2dbaee79274618c24fbe5e9fedbf0b3ee18c6c98b55d93e135d037ac33ab872edc7665af41577 WHIRLPOOL 7b6b4bd31b9c739b3cb3ed618f545318e44f18081cdd7eef700b15f04139bded5594c9b498df926a91d4311435971d4da025f55129fa22cd3d13f480977923cc
diff --git a/dev-util/cmocka/cmocka-1.1.1.ebuild b/dev-util/cmocka/cmocka-1.1.1.ebuild
new file mode 100644
index 000000000000..ab373abeeca5
--- /dev/null
+++ b/dev-util/cmocka/cmocka-1.1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-multilib
+
+DESCRIPTION="A unit testing framework for C"
+HOMEPAGE="http://cmocka.org/"
+SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="doc static-libs test"
+
+DEPEND="
+ doc? ( app-doc/doxygen[latex] )
+"
+RDEPEND=""
+
+DOCS=( AUTHORS ChangeLog README )
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DWITH_STATIC_LIB=$(usex static-libs)
+ -DUNIT_TESTING=$(usex test)
+ $(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \
+ || echo -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON)
+ )
+
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use doc; then
+ pushd doc || die
+ doxygen Doxyfile || die
+ rm -f html/*.md5 latex/*.md5 latex/Manifest man/man3/_* || die
+ dodoc -r html/
+ dodoc -r latex/
+ doman man/man3/*.3
+ popd || die
+ fi
+
+ cmake-utils_src_install
+}