diff options
author | joerg <joerg@pkgsrc.org> | 2020-08-06 23:36:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-08-06 23:36:51 +0000 |
commit | f489b4751eab664642fdbc75d8d0254292b5dbcd (patch) | |
tree | 54c6c8ab65c98f7d244a4e02ef78fa1ed227f12a /math | |
parent | 330136d0727d2fee9fc19513c85ed229d526b902 (diff) | |
download | pkgsrc-f489b4751eab664642fdbc75d8d0254292b5dbcd.tar.gz |
Add lua-cassowary-2.2:
This is a lua port of the cassowary constraint solving toolkit. It allows
you to use lua to solve algebraic equations and inequalities and find the
values of unknown variables which satisfy those inequalities.
Diffstat (limited to 'math')
-rw-r--r-- | math/lua-cassowary/DESCR | 3 | ||||
-rw-r--r-- | math/lua-cassowary/Makefile | 26 | ||||
-rw-r--r-- | math/lua-cassowary/PLIST | 2 | ||||
-rw-r--r-- | math/lua-cassowary/distinfo | 6 |
4 files changed, 37 insertions, 0 deletions
diff --git a/math/lua-cassowary/DESCR b/math/lua-cassowary/DESCR new file mode 100644 index 00000000000..dc53e8cffc0 --- /dev/null +++ b/math/lua-cassowary/DESCR @@ -0,0 +1,3 @@ +This is a lua port of the cassowary constraint solving toolkit. It allows +you to use lua to solve algebraic equations and inequalities and find the +values of unknown variables which satisfy those inequalities. diff --git a/math/lua-cassowary/Makefile b/math/lua-cassowary/Makefile new file mode 100644 index 00000000000..67e945889db --- /dev/null +++ b/math/lua-cassowary/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2020/08/06 23:36:51 joerg Exp $ + +DISTNAME= cassowary-2.2 +PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME} +CATEGORIES= math lua +MASTER_SITES= ${MASTER_SITE_GITHUB:=sile-typesetter/} +GITHUB_PROJECT= cassowary.lua +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/sile-typesetter/cassowary.lua/ +COMMENT= Constraint solver for Lua +LICENSE= apache-2.0 + +DEPENDS+= ${LUA_PKGPREFIX}-penlight-[0-9]*:../../devel/lua-penlight + +NO_BUILD= yes + +INSTALLATION_DIRS+= ${LUA_LDIR} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/cassowary.lua \ + ${DESTDIR}${PREFIX}/${LUA_LDIR}/ + +.include "../../lang/lua/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/math/lua-cassowary/PLIST b/math/lua-cassowary/PLIST new file mode 100644 index 00000000000..c6e878a3336 --- /dev/null +++ b/math/lua-cassowary/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2020/08/06 23:36:51 joerg Exp $ +${LUA_LDIR}/cassowary.lua diff --git a/math/lua-cassowary/distinfo b/math/lua-cassowary/distinfo new file mode 100644 index 00000000000..65743f33a9f --- /dev/null +++ b/math/lua-cassowary/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/08/06 23:36:51 joerg Exp $ + +SHA1 (cassowary-2.2.tar.gz) = bcfb1ba764bc9c2a1753520bd3759f306ae535df +RMD160 (cassowary-2.2.tar.gz) = d415f6aa387fa712f1887cec0caa8982a751a7d5 +SHA512 (cassowary-2.2.tar.gz) = cfbc2475014a7959dbae98be1b94f61c9e859e9d09110d9405fa13e398472738900d0a80a50b80be9d2e2b23a63ad1af65071c36f8ef82a9f6bc6a8fa97ca94a +Size (cassowary-2.2.tar.gz) = 15570 bytes |