logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 3697ed588fa6d33e8651926e5103a719dd3de6f1
parent 552e5c2c7475d92d9bcaa8a0ecd450c9d6afa7a5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 16 Sep 2023 07:33:37 +0200

dev-nodejs/chipmunk: new package, add 6.1.2

Diffstat:

Adev-nodejs/chipmunk/Manifest1+
Adev-nodejs/chipmunk/chipmunk-6.1.2.ebuild28++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/chipmunk/Manifest b/dev-nodejs/chipmunk/Manifest @@ -0,0 +1 @@ +DIST chipmunk-6.1.2.tar.gz 125336 BLAKE2B de34dfb1042b0ae53a680d21dae253f2e4a3fb90ce9374046c2ab047d5d3fdab0b5e68547ca242e2853c77a291079cfc6ef3dc7639f2d6f0cc8b627b0b7ff42c SHA512 59f9441e428a670a469285c591c977fb4035d5998fe28e066ad3a61d09e814c78bbbdaa3780b079fb870ab179758f77638fda3387c27a7f57d20dd5f5ebe631f diff --git a/dev-nodejs/chipmunk/chipmunk-6.1.2.ebuild b/dev-nodejs/chipmunk/chipmunk-6.1.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nodejs + +DESCRIPTION="Port of slembcke/Chipmunk-Physics to Javascript" +HOMEPAGE="https://github.com/josephg/Chipmunk-js" +SRC_URI="https://github.com/josephg/Chipmunk-js/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/Chipmunk-js-${PV}" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-util/uglifyjs" + +# no testsuite +RESTRICT="test" + +src_prepare() { + default + emake clean +} + +src_compile() { + emake +}