summaryrefslogtreecommitdiff
path: root/sci-libs/libccd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/libccd
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/libccd')
-rw-r--r--sci-libs/libccd/Manifest6
-rw-r--r--sci-libs/libccd/libccd-2.0.ebuild59
-rw-r--r--sci-libs/libccd/libccd-9999.ebuild59
-rw-r--r--sci-libs/libccd/metadata.xml11
4 files changed, 135 insertions, 0 deletions
diff --git a/sci-libs/libccd/Manifest b/sci-libs/libccd/Manifest
new file mode 100644
index 000000000000..a42b58d7e2e4
--- /dev/null
+++ b/sci-libs/libccd/Manifest
@@ -0,0 +1,6 @@
+DIST libccd-2.0.tar.gz 68103 SHA256 513e212fbb22cf720cf16ba911e8a8ccb1050c006789631ff2474ecc2f12b47a SHA512 627426f1acd24779e7d596fd5b18dede4cf3c13d3cceda87a8b2d0195b72d9ada45290fd41baa20d6e3adafda75074db355cb95a60f80023c32b5ad4e72235bf WHIRLPOOL cc83b492855333549e7ab3707f66259191b865e49971a698fa875d44887d00fc9fdad5b5eb014703c8e92f66260c94baafe7f0199f7afdc206b7103b94190488
+EBUILD libccd-2.0.ebuild 1129 SHA256 8ee6ab677581e1706d4e22a0c2dac5b70e24a7bc9543535dbcc15f6ab5fb641f SHA512 bb7d70c13dd6871be004c309c5adb92953ecd4fb73613fe34abad10dc8050dace2169d10f8da49d7ba96edd11153149b1edef5078cebeba4d5fa41e82292c7e3 WHIRLPOOL f3931d45d8cc5d0e87197c533f3c420f1d53e59bfecfb69562110cc0a1f4deee4f4f2e78994b9f663d31beedc3869b72a90fe7b2de75c2a6f059193809924cac
+EBUILD libccd-9999.ebuild 1132 SHA256 120901e3b9570de0ae34d3c70cd4960a0d4bc2c53819c17c106001a15ecef273 SHA512 68295196d780ac574edc043165e51683258ad453d28a78a357ceb76a853e6532d653f5a11d39e033d0f24fa9e34f737d4c8c97351a524ae2bba2a196888bfce2 WHIRLPOOL 2b299319f3cb1b46983fc975e1ccfa8e1de7aa40483cc866be79e7767a4fe322d79fd4935310af54eef111f2a439192d6df7569bed7e59f13a7e2251cdd1fc3e
+MISC ChangeLog 2625 SHA256 ebd925d28f9ca7bc2e812a388d33798bea05c06eac17305acbfc60dd872dd80c SHA512 57ff4601bf897259f493410c67a63e482a8b2e1973db5796c10b9485e25edbd5e9afa916c269465845bfa26eff5723aa88a56367dd403442b5e13d11f7f99471 WHIRLPOOL 68037caffb49a38dd850e9d2378c15cf3b7aa072d29d91be0fad5e41658d543a6f70e37ff0b3d3d4ef3cec8894e04b8b44e1fb887a265e3ef47edf270fd29e7e
+MISC ChangeLog-2015 510 SHA256 7bbac1f292b4321b5f7485af37a72b5c0f08be67dde368695ea5fa3bee47ed2a SHA512 98e4c63a2a43b62505a6c3e72fd53bd295210339ee0aef0a4f4e2fe1fe2dc7477cc7a4af4f951c50a6c02782bc7eb1d0bc235b580294fcf73c7f88c792219f85 WHIRLPOOL c4765893eaa70b841c69cb181d5e280f9ceccf5da31e8c8a3c097829edd58ca4306cf8fc6c08347acad33641a1e503ab874a1c97fa75c076a17b01aa87f0fa50
+MISC metadata.xml 320 SHA256 f4eb568325b4c7738002fc25b0076a0188eb686b8c0eb7024def8d3ee28226f0 SHA512 76ac27595041183f73ae8b7c0a8c653ffd4609bfe780a3931b81a1222f9563b9af0e0c51fab757a16772f3ec285357772c3e5df36fb0058c34f21c8ae1b014bb WHIRLPOOL 4e2e3fcbd604b65d9d3ede6c452a5d0f2b4fcbfa9ba5d03de7905fc6863afbe3def91f555aaa3d28e39e71a40d33294b9c985ed6c00c80250c9104443ea995c1
diff --git a/sci-libs/libccd/libccd-2.0.ebuild b/sci-libs/libccd/libccd-2.0.ebuild
new file mode 100644
index 000000000000..894309a26239
--- /dev/null
+++ b/sci-libs/libccd/libccd-2.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM="git-r3"
+ EGIT_REPO_URI="https://github.com/danfis/libccd"
+fi
+
+inherit ${SCM} cmake-utils toolchain-funcs
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64 ~arm"
+ 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..6d2690e84ba0
--- /dev/null
+++ b/sci-libs/libccd/libccd-9999.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM="git-r3"
+ EGIT_REPO_URI="https://github.com/danfis/libccd"
+fi
+
+inherit ${SCM} cmake-utils toolchain-funcs
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64 ~arm"
+ 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.md )
+
+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..20ea537dd9ae
--- /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 type="person">
+<email>aballier@gentoo.org</email>
+<name>Alexis Ballier</name>
+</maintainer>
+ <use>
+ <flag name="double">Use double precision floats.</flag>
+ </use>
+</pkgmetadata>