pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/hs-lua



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Feb 11 11:59:11 UTC 2022

Added Files:
        pkgsrc/lang/hs-lua: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/lang/hs-lua/patches: patch-lua.cabal

Log Message:
Import lua-2.1.0

This package provides low-level bindings and types to bridge Haskell and
Lua.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/hs-lua/DESCR pkgsrc/lang/hs-lua/Makefile \
    pkgsrc/lang/hs-lua/PLIST pkgsrc/lang/hs-lua/buildlink3.mk \
    pkgsrc/lang/hs-lua/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/hs-lua/patches/patch-lua.cabal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/hs-lua/DESCR
diff -u /dev/null pkgsrc/lang/hs-lua/DESCR:1.1
--- /dev/null   Fri Feb 11 11:59:11 2022
+++ pkgsrc/lang/hs-lua/DESCR    Fri Feb 11 11:59:11 2022
@@ -0,0 +1,2 @@
+This package provides low-level bindings and types to bridge Haskell and
+Lua.
Index: pkgsrc/lang/hs-lua/Makefile
diff -u /dev/null pkgsrc/lang/hs-lua/Makefile:1.1
--- /dev/null   Fri Feb 11 11:59:11 2022
+++ pkgsrc/lang/hs-lua/Makefile Fri Feb 11 11:59:11 2022
@@ -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"
Index: pkgsrc/lang/hs-lua/PLIST
diff -u /dev/null pkgsrc/lang/hs-lua/PLIST:1.1
--- /dev/null   Fri Feb 11 11:59:11 2022
+++ pkgsrc/lang/hs-lua/PLIST    Fri Feb 11 11:59:11 2022
@@ -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
Index: pkgsrc/lang/hs-lua/buildlink3.mk
diff -u /dev/null pkgsrc/lang/hs-lua/buildlink3.mk:1.1
--- /dev/null   Fri Feb 11 11:59:11 2022
+++ pkgsrc/lang/hs-lua/buildlink3.mk    Fri Feb 11 11:59:11 2022
@@ -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
Index: pkgsrc/lang/hs-lua/distinfo
diff -u /dev/null pkgsrc/lang/hs-lua/distinfo:1.1
--- /dev/null   Fri Feb 11 11:59:11 2022
+++ pkgsrc/lang/hs-lua/distinfo Fri Feb 11 11:59:11 2022
@@ -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

Index: pkgsrc/lang/hs-lua/patches/patch-lua.cabal
diff -u /dev/null pkgsrc/lang/hs-lua/patches/patch-lua.cabal:1.1
--- /dev/null   Fri Feb 11 11:59:11 2022
+++ pkgsrc/lang/hs-lua/patches/patch-lua.cabal  Fri Feb 11 11:59:11 2022
@@ -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