From: "Tiziano Müller" <dev-zero@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/dev-zero:master commit in: profiles/, dev-haskell/hslua/
Date: Mon, 13 Jun 2016 12:16:46 +0000 (UTC) [thread overview]
Message-ID: <1465820197.40b4491a2536a4c77bfd5b3f3e08083234655913.dev-zero@gentoo> (raw)
commit: 40b4491a2536a4c77bfd5b3f3e08083234655913
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 12:16:37 2016 +0000
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 12:16:37 2016 +0000
URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=40b4491a
dev-haskell/hslua: add version bump with luajit support
dev-haskell/hslua/Manifest | 1 +
dev-haskell/hslua/hslua-0.4.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++
dev-haskell/hslua/metadata.xml | 19 +++++++++++++++++
profiles/categories | 1 +
4 files changed, 61 insertions(+)
diff --git a/dev-haskell/hslua/Manifest b/dev-haskell/hslua/Manifest
new file mode 100644
index 0000000..642b04c
--- /dev/null
+++ b/dev-haskell/hslua/Manifest
@@ -0,0 +1 @@
+DIST hslua-0.4.1.tar.gz 130342 SHA256 2df2b4f0566ef2244506f9830e0207fce3bece7c331129f69f446c722136173f SHA512 fd2bdab758b0ab56e8ca03c022aa16b6e2677fa45f34c60f901d7a545d4b78cc5f32e62504fe64c680c0c55cd69b9718bc91e1541029446b05f092c86611b338 WHIRLPOOL 4c7e8faa6d4ff6a53e0a71fde5ab9c00268d667d04809f91cdfd4ace035e4c4507d39e60eee5cf83e12e0a78cf00085c557567c80ddf5c58d0585db5f7e49584
diff --git a/dev-haskell/hslua/hslua-0.4.1.ebuild b/dev-haskell/hslua/hslua-0.4.1.ebuild
new file mode 100644
index 0000000..4e30e80
--- /dev/null
+++ b/dev-haskell/hslua/hslua-0.4.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild initially generated by hackport 0.4.3.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A Lua language interpreter embedding in Haskell"
+HOMEPAGE="http://hackage.haskell.org/package/hslua"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="apicheck luajit system-lua"
+REQUIRED_USE="luajit? ( system-lua )"
+
+RDEPEND=">=dev-haskell/mtl-2.1:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ system-lua? (
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( <dev-lang/lua-5.2:= )
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ system-lua? ( virtual/pkgconfig )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag apicheck apicheck) \
+ $(cabal_flag luajit) \
+ $(usex luajit --extra-include-dirs="${EROOT}/usr/include/luajit-2.0") \
+ $(cabal_flag system-lua system-lua)
+}
diff --git a/dev-haskell/hslua/metadata.xml b/dev-haskell/hslua/metadata.xml
new file mode 100644
index 0000000..e1447dd
--- /dev/null
+++ b/dev-haskell/hslua/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <use>
+ <flag name="apicheck">Compile Lua with -DLUA_USE_APICHECK..</flag>
+ <flag name="system-lua">Use the system-wide lua instead of the bundled copy.</flag>
+ </use>
+ <longdescription>
+ The Scripting.Lua module is a wrapper of Lua language interpreter
+ as described in www.lua.org.
+
+ The package is standalone: full Lua interpreter version 5.1.4
+ is distributed in this package as well.
+ </longdescription>
+</pkgmetadata>
diff --git a/profiles/categories b/profiles/categories
index b6e73af..3c9b08e 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -88,3 +88,4 @@ sci-chemistry
sci-electronics
sci-biology
virtual
+dev-haskell
reply other threads:[~2016-06-13 12:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465820197.40b4491a2536a4c77bfd5b3f3e08083234655913.dev-zero@gentoo \
--to=dev-zero@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox