pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/hs-hslua



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Jan 15 12:40:39 UTC 2020

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

Log Message:
Import hslua-1.0.3.2 from wip

HsLua provides bindings, wrappers, types, and helper functions to
bridge Haskell and Lua.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/hs-hslua/DESCR \
    pkgsrc/lang/hs-hslua/Makefile pkgsrc/lang/hs-hslua/buildlink3.mk \
    pkgsrc/lang/hs-hslua/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/hs-hslua/patches/patch-hslua.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-hslua/DESCR
diff -u /dev/null pkgsrc/lang/hs-hslua/DESCR:1.1
--- /dev/null   Wed Jan 15 12:40:39 2020
+++ pkgsrc/lang/hs-hslua/DESCR  Wed Jan 15 12:40:38 2020
@@ -0,0 +1,2 @@
+HsLua provides bindings, wrappers, types, and helper functions to
+bridge Haskell and Lua.
Index: pkgsrc/lang/hs-hslua/Makefile
diff -u /dev/null pkgsrc/lang/hs-hslua/Makefile:1.1
--- /dev/null   Wed Jan 15 12:40:39 2020
+++ pkgsrc/lang/hs-hslua/Makefile       Wed Jan 15 12:40:38 2020
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/01/15 12:40:38 pho Exp $
+
+DISTNAME=      hslua-1.0.3.2
+CATEGORIES=    lang
+
+MAINTAINER=    szptvlfn%NetBSD.org@localhost
+COMMENT=       Bindings to Lua, an embeddable scripting language
+LICENSE=       mit
+
+USE_TOOLS+=            pkg-config
+CONFIGURE_ARGS+=       -fpkg-config
+
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../devel/hs-fail/buildlink3.mk"
+# 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-hslua/buildlink3.mk
diff -u /dev/null pkgsrc/lang/hs-hslua/buildlink3.mk:1.1
--- /dev/null   Wed Jan 15 12:40:39 2020
+++ pkgsrc/lang/hs-hslua/buildlink3.mk  Wed Jan 15 12:40:38 2020
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 12:40:38 pho Exp $
+
+BUILDLINK_TREE+=       hs-hslua
+
+.if !defined(HS_HSLUA_BUILDLINK3_MK)
+HS_HSLUA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hslua+=       hs-hslua>=1.0.3
+BUILDLINK_ABI_DEPENDS.hs-hslua+=       hs-hslua>=1.0.3.2
+BUILDLINK_PKGSRCDIR.hs-hslua?=         ../../lang/hs-hslua
+
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../devel/hs-fail/buildlink3.mk"
+.include "../../lang/lua53/buildlink3.mk"
+.endif # HS_HSLUA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-hslua
Index: pkgsrc/lang/hs-hslua/distinfo
diff -u /dev/null pkgsrc/lang/hs-hslua/distinfo:1.1
--- /dev/null   Wed Jan 15 12:40:39 2020
+++ pkgsrc/lang/hs-hslua/distinfo       Wed Jan 15 12:40:38 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/15 12:40:38 pho Exp $
+
+SHA1 (hslua-1.0.3.2.tar.gz) = afbcc622c003b309b60045f7c082c036f7a2bd98
+RMD160 (hslua-1.0.3.2.tar.gz) = 6581567146bb688b1ab133ca671d19bdc81cc434
+SHA512 (hslua-1.0.3.2.tar.gz) = 2e047e32a55d0c9512388445ba318d7ceec85f467c89ad825cceb2c60b5b1dce10fa5f014009cb105f71d109fd66eca0c94b88d3a5e26a85ae0dc3e327606e38
+Size (hslua-1.0.3.2.tar.gz) = 237230 bytes
+SHA1 (patch-hslua.cabal) = 2785ac0294e90834f31e612440658976d1de8489

Index: pkgsrc/lang/hs-hslua/patches/patch-hslua.cabal
diff -u /dev/null pkgsrc/lang/hs-hslua/patches/patch-hslua.cabal:1.1
--- /dev/null   Wed Jan 15 12:40:39 2020
+++ pkgsrc/lang/hs-hslua/patches/patch-hslua.cabal      Wed Jan 15 12:40:38 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-hslua.cabal,v 1.1 2020/01/15 12:40:38 pho Exp $
+
+Correct the pkg-config package name.
+
+--- hslua.cabal.orig   2020-01-15 12:38:03.950345594 +0000
++++ hslua.cabal
+@@ -123,7 +123,7 @@ library
+ 
+   if flag(system-lua) || flag(pkg-config)
+     if flag(pkg-config)
+-      pkgconfig-depends: lua5.3
++      pkgconfig-depends: lua-5.3
+     else
+       extra-libraries:   lua
+       includes:          lua.h



Home | Main Index | Thread Index | Old Index