pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/hs-lua Import lua-2.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/d9795e9f2f43
branches: trunk
changeset: 373390:d9795e9f2f43
user: pho <pho%pkgsrc.org@localhost>
date: Fri Feb 11 11:59:11 2022 +0000
description:
Import lua-2.1.0
This package provides low-level bindings and types to bridge Haskell and
Lua.
diffstat:
lang/hs-lua/DESCR | 2 +
lang/hs-lua/Makefile | 17 ++++++++
lang/hs-lua/PLIST | 74 +++++++++++++++++++++++++++++++++++++
lang/hs-lua/buildlink3.mk | 15 +++++++
lang/hs-lua/distinfo | 6 +++
lang/hs-lua/patches/patch-lua.cabal | 15 +++++++
6 files changed, 129 insertions(+), 0 deletions(-)
diffs (153 lines):
diff -r ed070620c2a9 -r d9795e9f2f43 lang/hs-lua/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-lua/DESCR Fri Feb 11 11:59:11 2022 +0000
@@ -0,0 +1,2 @@
+This package provides low-level bindings and types to bridge Haskell and
+Lua.
diff -r ed070620c2a9 -r d9795e9f2f43 lang/hs-lua/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-lua/Makefile Fri Feb 11 11:59:11 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2022/02/11 11:59:11 pho Exp $
+
+DISTNAME= lua-2.1.0
+CATEGORIES= lang
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Low-level bindings to Lua, an embeddable scripting language
+LICENSE= mit
+
+USE_TOOLS+= pkg-config
+CONFIGURE_ARGS+= -fpkg-config
+
+# This package explicitly depends on Lua 5.3.x so including
+# ../../lang/lua/buildlink3.mk would be inappropriate.
+.include "../../lang/lua53/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ed070620c2a9 -r d9795e9f2f43 lang/hs-lua/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-lua/PLIST Fri Feb 11 11:59:11 2022 +0000
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/11 11:59:11 pho Exp $
+lib/lua-${PKGVERSION}/${HS_VERSION}/package-description
+lib/lua-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Auxiliary.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Auxiliary.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Auxiliary.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Call.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Call.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Call.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Constants.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Constants.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Constants.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Auxiliary.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Auxiliary.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Auxiliary.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Functions.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Functions.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Ersatz/Functions.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Lib.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Lib.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Lib.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Primary.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Primary.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Primary.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Userdata.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Userdata.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Lua/Userdata.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Auxiliary.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Call.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Constants.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz-Auxiliary.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz-Functions.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Ersatz.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Lib.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Primary.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Types.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua-Userdata.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/Lua.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-H.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-O.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index-W.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/lua.haddock
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/lua-${PKGVERSION}/html/synopsis.png
diff -r ed070620c2a9 -r d9795e9f2f43 lang/hs-lua/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-lua/buildlink3.mk Fri Feb 11 11:59:11 2022 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/11 11:59:11 pho Exp $
+
+BUILDLINK_TREE+= hs-lua
+
+.if !defined(HS_LUA_BUILDLINK3_MK)
+HS_LUA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-lua+= hs-lua>=2.1.0
+BUILDLINK_ABI_DEPENDS.hs-lua+= hs-lua>=2.1.0
+BUILDLINK_PKGSRCDIR.hs-lua?= ../../lang/hs-lua
+
+.include "../../lang/lua53/buildlink3.mk"
+.endif # HS_LUA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-lua
diff -r ed070620c2a9 -r d9795e9f2f43 lang/hs-lua/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-lua/distinfo Fri Feb 11 11:59:11 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/11 11:59:11 pho Exp $
+
+BLAKE2s (lua-2.1.0.tar.gz) = a0e98a04ec3f0689fa887761f0fd96e9fce37106c1014851ade99b52945bfcdd
+SHA512 (lua-2.1.0.tar.gz) = 1360e163915e14381e457727e0d04abc089fef95b6c14331b355330ec35458d5ddf899f843ce61dffe23b86ceffd0d203fd66f2edb4cc8ce11f00278842e1a94
+Size (lua-2.1.0.tar.gz) = 212562 bytes
+SHA1 (patch-lua.cabal) = 6d9139ee92b9793fc4fabd96d1b7db15f1bd6641
diff -r ed070620c2a9 -r d9795e9f2f43 lang/hs-lua/patches/patch-lua.cabal
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-lua/patches/patch-lua.cabal Fri Feb 11 11:59:11 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lua.cabal,v 1.1 2022/02/11 11:59:11 pho Exp $
+
+Correct the pkg-config package name.
+
+--- lua.cabal.orig 2001-09-09 01:46:40.000000000 +0000
++++ lua.cabal
+@@ -149,7 +149,7 @@ library
+ , lualib.h
+ if flag(system-lua) || flag(pkg-config)
+ if flag(pkg-config)
+- pkgconfig-depends: lua5.3
++ pkgconfig-depends: lua-5.3
+ else
+ extra-libraries: lua
+ else
Home |
Main Index |
Thread Index |
Old Index