summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-10-23 16:03:50 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-10-23 16:03:50 +0000
commit3e3a1c201deeff252736ef869b91bd8f1d5a313f (patch)
tree9c0a5ecf71e1a26c4ff0cf4a88c0046d133a2002 /sci-libs/libccd
parentrevbump; correction to sed statement to prevent double installation of doc da... (diff)
downloadhistorical-3e3a1c201deeff252736ef869b91bd8f1d5a313f.tar.gz
historical-3e3a1c201deeff252736ef869b91bd8f1d5a313f.tar.bz2
historical-3e3a1c201deeff252736ef869b91bd8f1d5a313f.zip
initial import, ebuild by me
Signed-off-by: aballier@gentoo.org Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'sci-libs/libccd')
-rw-r--r--sci-libs/libccd/ChangeLog11
-rw-r--r--sci-libs/libccd/Manifest15
-rw-r--r--sci-libs/libccd/libccd-2.0.ebuild60
-rw-r--r--sci-libs/libccd/libccd-9999.ebuild60
-rw-r--r--sci-libs/libccd/metadata.xml11
5 files changed, 157 insertions, 0 deletions
diff --git a/sci-libs/libccd/ChangeLog b/sci-libs/libccd/ChangeLog
new file mode 100644
index 000000000000..66fb2351acd7
--- /dev/null
+++ b/sci-libs/libccd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-libs/libccd
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libccd/ChangeLog,v 1.1 2014/10/23 16:03:46 aballier Exp $
+
+*libccd-9999 (23 Oct 2014)
+*libccd-2.0 (23 Oct 2014)
+
+ 23 Oct 2014; Alexis Ballier <aballier@gentoo.org> +libccd-2.0.ebuild,
+ +libccd-9999.ebuild, +metadata.xml:
+ initial import, ebuild by me
+
diff --git a/sci-libs/libccd/Manifest b/sci-libs/libccd/Manifest
new file mode 100644
index 000000000000..8c55faa2f4bd
--- /dev/null
+++ b/sci-libs/libccd/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST libccd-2.0.tar.gz 68103 SHA256 513e212fbb22cf720cf16ba911e8a8ccb1050c006789631ff2474ecc2f12b47a SHA512 627426f1acd24779e7d596fd5b18dede4cf3c13d3cceda87a8b2d0195b72d9ada45290fd41baa20d6e3adafda75074db355cb95a60f80023c32b5ad4e72235bf WHIRLPOOL cc83b492855333549e7ab3707f66259191b865e49971a698fa875d44887d00fc9fdad5b5eb014703c8e92f66260c94baafe7f0199f7afdc206b7103b94190488
+EBUILD libccd-2.0.ebuild 1233 SHA256 7948d03c73e3562ee2c444e7fe2c555051d61956b7c54de3c24aa605bbde217b SHA512 4dad5081572c1cbb2749b836bf79b9ce7ee3db830c7f7a7c75f523e9cbfdeec8320e6c1aa515b2f872f510b7d7b2463e02d413aafa0b21a82fa320aa0bb7dc6e WHIRLPOOL 71ecc126961bb25da85f08ebdcdd9b17b3270fc525cc900338b3e0db106bf1888b5db964a6fdf0af55dcc92a2d9bdff4704700b7fab7aad89a0f5dbd26b34184
+EBUILD libccd-9999.ebuild 1234 SHA256 4325930f8c6f4940200a5bccc9977ef96e2435049971e45562f146af559973f8 SHA512 7eb7fd852086843f9e29d65a1ccc089f811bb2c18960df0287e93f33ed7cd920acccecae7c408463801e1af55ac01be45c7b77bdabb5b412ffc718652eb166ea WHIRLPOOL 368659b929c7875da2024dc0d626ca79e5895834aaeaef895c5ed5317cdf5a2ea63f8e3806ca9e836fb950c0e191fa81097e2eaeebb2f227f32964efaab665f3
+MISC ChangeLog 401 SHA256 04c1a692e31abbe8ef2ac16483644d1bd8030615d263e415e3b9de220723ab4b SHA512 694aed373d54214e712ab0c2f64f7d1a725270330632e660f3b9021b2f1ab2f149ef5c1e761502ec955ee832c37a2d98fae5d21db94ae83efd76f440f453b0f1 WHIRLPOOL 0bcbbff3265c58c93e370c10bd3607792ea0837732b357afa86e4f8d3ceeb8760d55474a2470e37c82eb6f16a8d200b8aa82783e1c13847ae94b2b759e95b80c
+MISC metadata.xml 306 SHA256 d57a719836780235a71c32699a6d55f767887799976e5914e792228dafddbdce SHA512 73701ff6a0000e222eb665631352274ad2735113d80dd41f47d950cb50f6f9c7908dc5a957a5bf98ed49bf534a0481c90f79f79f32a31d5b8c4e736626e6396d WHIRLPOOL d04d81b05b52f6e11b9a34c8681bb983739da7e0db6acbb1f5e5e869001436e785f0e6365d625448e7a1d8c8b5e0e2474c3bd8dc7a801350f4a4e0320bd9371d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlRJJuMACgkQvFcC4BYPU0o9CACguOlv2J+2PHfs5ZRLHF9qdl7F
+J7gAn2Q7xJkHskuYzXSbOe6nIb4KBd+c
+=ArER
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/libccd/libccd-2.0.ebuild b/sci-libs/libccd/libccd-2.0.ebuild
new file mode 100644
index 000000000000..6afda46551d5
--- /dev/null
+++ b/sci-libs/libccd/libccd-2.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libccd/libccd-2.0.ebuild,v 1.1 2014/10/23 16:03:46 aballier Exp $
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM="git-r3"
+ EGIT_REPO_URI="http://github.com/danfis/libccd"
+fi
+
+inherit ${SCM} cmake-utils toolchain-funcs
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64"
+ SRC_URI="http://libccd.danfis.cz/files/${P}.tar.gz"
+fi
+
+DESCRIPTION="Library for collision detection between two convex shapes"
+HOMEPAGE="http://libccd.danfis.cz/"
+LICENSE="BSD"
+SLOT="0"
+IUSE="double doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )"
+DOCS=( README )
+
+src_configure() {
+ local mycmakeargs=(
+ "-DCCD_DOUBLE=$(usex double TRUE FALSE)"
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ if use doc ; then
+ cd "${S}/doc"
+ emake SPHINXBUILD=sphinx-build html
+ fi
+}
+
+src_test() {
+ cd src/testsuites
+ tc-export CC
+ LDFLAGS="-L${BUILD_DIR} ${LDFLAGS}" \
+ LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" \
+ emake check
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dohtml -r "${S}/doc/_build/html/"*
+}
diff --git a/sci-libs/libccd/libccd-9999.ebuild b/sci-libs/libccd/libccd-9999.ebuild
new file mode 100644
index 000000000000..79d725bcded4
--- /dev/null
+++ b/sci-libs/libccd/libccd-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libccd/libccd-9999.ebuild,v 1.1 2014/10/23 16:03:46 aballier Exp $
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM="git-r3"
+ EGIT_REPO_URI="http://github.com/danfis/libccd"
+fi
+
+inherit ${SCM} cmake-utils toolchain-funcs
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64"
+ SRC_URI="http://libccd.danfis.cz/files/${P}.tar.gz"
+fi
+
+DESCRIPTION="Library for collision detection between two convex shapes"
+HOMEPAGE="http://libccd.danfis.cz/"
+LICENSE="BSD"
+SLOT="0"
+IUSE="double doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )"
+DOCS=( README )
+
+src_configure() {
+ local mycmakeargs=(
+ "-DCCD_DOUBLE=$(usex double TRUE FALSE)"
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ if use doc ; then
+ cd "${S}/doc"
+ emake SPHINXBUILD=sphinx-build html
+ fi
+}
+
+src_test() {
+ cd src/testsuites
+ tc-export CC
+ LDFLAGS="-L${BUILD_DIR} ${LDFLAGS}" \
+ LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" \
+ emake check
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dohtml -r "${S}/doc/_build/html/"*
+}
diff --git a/sci-libs/libccd/metadata.xml b/sci-libs/libccd/metadata.xml
new file mode 100644
index 000000000000..5825d26f0d1a
--- /dev/null
+++ b/sci-libs/libccd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>aballier@gentoo.org</email>
+<name>Alexis Ballier</name>
+</maintainer>
+ <use>
+ <flag name="double">Use double precision floats.</flag>
+ </use>
+</pkgmetadata>