diff options
author | pho <pho@pkgsrc.org> | 2020-01-15 12:40:38 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2020-01-15 12:40:38 +0000 |
commit | d850ae68a234a0a153c13f3cc3dfe66ab8160cc6 (patch) | |
tree | c6b3e8e6467736f8d813b8dfe2c8221a6fd3859f /lang/hs-hslua | |
parent | ada5357d9345ba083f434ae8036209f01cce6d75 (diff) | |
download | pkgsrc-d850ae68a234a0a153c13f3cc3dfe66ab8160cc6.tar.gz |
Import hslua-1.0.3.2 from wip
HsLua provides bindings, wrappers, types, and helper functions to
bridge Haskell and Lua.
Diffstat (limited to 'lang/hs-hslua')
-rw-r--r-- | lang/hs-hslua/DESCR | 2 | ||||
-rw-r--r-- | lang/hs-hslua/Makefile | 19 | ||||
-rw-r--r-- | lang/hs-hslua/buildlink3.mk | 17 | ||||
-rw-r--r-- | lang/hs-hslua/distinfo | 7 | ||||
-rw-r--r-- | lang/hs-hslua/patches/patch-hslua.cabal | 15 |
5 files changed, 60 insertions, 0 deletions
diff --git a/lang/hs-hslua/DESCR b/lang/hs-hslua/DESCR new file mode 100644 index 00000000000..f30bc93abc2 --- /dev/null +++ b/lang/hs-hslua/DESCR @@ -0,0 +1,2 @@ +HsLua provides bindings, wrappers, types, and helper functions to +bridge Haskell and Lua. diff --git a/lang/hs-hslua/Makefile b/lang/hs-hslua/Makefile new file mode 100644 index 00000000000..90b17cacddf --- /dev/null +++ b/lang/hs-hslua/Makefile @@ -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 +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" diff --git a/lang/hs-hslua/buildlink3.mk b/lang/hs-hslua/buildlink3.mk new file mode 100644 index 00000000000..0a18caf6497 --- /dev/null +++ b/lang/hs-hslua/buildlink3.mk @@ -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 diff --git a/lang/hs-hslua/distinfo b/lang/hs-hslua/distinfo new file mode 100644 index 00000000000..055ce3b359f --- /dev/null +++ b/lang/hs-hslua/distinfo @@ -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 diff --git a/lang/hs-hslua/patches/patch-hslua.cabal b/lang/hs-hslua/patches/patch-hslua.cabal new file mode 100644 index 00000000000..d58bcf7b078 --- /dev/null +++ b/lang/hs-hslua/patches/patch-hslua.cabal @@ -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 |