public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/
Date: Fri, 21 Oct 2016 21:00:24 +0000 (UTC)	[thread overview]
Message-ID: <1477083608.6d02ddc7257da822d21232197926256c683842dc.kensington@gentoo> (raw)

commit:     6d02ddc7257da822d21232197926256c683842dc
Author:     Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Wed Oct 19 00:12:58 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 21:00:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d02ddc7

dev-lua/mpack: Bump to 1.0.3

Use the Makefile, as upstream added support for using the system lua
implementation.

 dev-lua/mpack/Manifest           |  1 +
 dev-lua/mpack/mpack-1.0.3.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest
index c63f696..9548a14 100644
--- a/dev-lua/mpack/Manifest
+++ b/dev-lua/mpack/Manifest
@@ -1 +1,2 @@
 DIST mpack-1.0.2.tar.gz 44671 SHA256 9c570b2aab81b0c56d97cbd8fc483dc431b69510fd9becb4a1845291563e8bc9 SHA512 307ae26799e59224dd624d1f5473c86d5cf975155c58b7ccfd17be98321afb0f7235d06a7a2c50112d4630b3cc7c185c9b307007be5cdbd792819ec2991fa3d2 WHIRLPOOL b5461701898d3e8ab72c92f8d75c4b098986821a3cba281e82a15e495ee4ac2a9efddbd61c542dc3f3cb0cb45f18362652b102dfa8bae690d6c8f4b1b3261911
+DIST mpack-1.0.3.tar.gz 45720 SHA256 65eb21cfa9313204ac5296e3b305d752b8422c724b6375caecc6385f0a6d6e22 SHA512 3024d2830d83a7572a648ee6074467e2096dc6af7c92aaf3c6531e4c25c1c57d9853a60f5b2d1f50039ceeb80bae83f8fdc7241fa48f789cb636bba32fc2a9ba WHIRLPOOL 7b79463f4912eba45e65a2bf24ef0dd7787f781333a3bd559e46999277abf96995cef3ac5d3f14e176f89a61062cb0049d4c6f3e93d6d5a6ddf1fc1a09c5a7f0

diff --git a/dev-lua/mpack/mpack-1.0.3.ebuild b/dev-lua/mpack/mpack-1.0.3.ebuild
new file mode 100644
index 00000000..c2d6be1
--- /dev/null
+++ b/dev-lua/mpack/mpack-1.0.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Lua bindings for libmpack"
+HOMEPAGE="https://github.com/tarruda/libmpack/"
+SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/libmpack-${PV}/binding/lua"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="luajit test"
+
+RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
+	luajit? ( dev-lang/luajit:2= )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	test? ( dev-lua/busted )"
+
+src_compile() {
+	emake \
+		CC="$(tc-getCC)" \
+		USE_SYSTEM_LUA=yes \
+		LUA_INCLUDE="$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))" \
+		LUA_LIB="$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
+}
+
+src_test() {
+	busted -o gtest test.lua || die
+}
+
+src_install() {
+	emake \
+		DESTDIR="${D}" \
+		USE_SYSTEM_LUA=yes \
+		LUA_CMOD_INSTALLDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \
+		install
+}


             reply	other threads:[~2016-10-21 21:00 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-21 21:00 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-22 20:01 [gentoo-commits] repo/gentoo:master commit in: dev-lua/mpack/ Conrad Kostecki
2024-04-03  9:14 Arthur Zamarin
2024-04-03  9:14 Arthur Zamarin
2024-04-03  5:02 Sam James
2024-02-29 16:48 Matt Turner
2024-02-08 23:43 Conrad Kostecki
2024-02-08 23:43 Conrad Kostecki
2023-11-12  5:56 Arthur Zamarin
2023-11-12  4:24 Sam James
2023-11-12  2:34 Sam James
2023-10-10 23:35 Conrad Kostecki
2023-10-10 23:35 Conrad Kostecki
2023-08-05 22:41 Conrad Kostecki
2023-04-20  5:01 Sam James
2023-04-20  4:17 Sam James
2023-04-20  4:02 Sam James
2023-03-19 22:12 Conrad Kostecki
2022-07-15  7:40 Sam James
2021-11-07 12:37 Conrad Kostecki
2021-11-07 12:37 Conrad Kostecki
2021-11-07 12:37 Conrad Kostecki
2021-10-11 13:47 Yixun Lan
2021-10-06 10:50 Conrad Kostecki
2021-10-06 10:50 Conrad Kostecki
2021-06-27 20:03 Aaron Bauman
2021-06-02 22:07 Conrad Kostecki
2021-04-22 19:31 Sergei Trofimovich
2021-04-21 21:03 Conrad Kostecki
2021-04-21 20:44 Conrad Kostecki
2021-04-21 20:29 Conrad Kostecki
2021-04-20 21:20 Sergei Trofimovich
2021-03-16 17:37 Conrad Kostecki
2021-03-05  8:58 Conrad Kostecki
2021-01-25 17:38 Marek Szuba
2020-12-03 13:50 Marek Szuba
2020-12-01 10:18 Conrad Kostecki
2020-12-01 10:18 Conrad Kostecki
2020-11-29 21:41 Marek Szuba
2020-11-29 21:41 Marek Szuba
2020-11-29 18:49 Conrad Kostecki
2020-11-29 18:49 Conrad Kostecki
2020-07-20  9:01 Joonas Niilola
2019-04-20 19:01 Mikle Kolyada
2018-07-07 12:15 Jonas Stein
2018-01-05 11:18 Patrice Clement
2018-01-05 11:18 Patrice Clement
2017-03-16 10:27 Michael Palimaka
2017-02-11 11:37 Michael Palimaka
2016-04-21 19:45 Patrice Clement

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=1477083608.6d02ddc7257da822d21232197926256c683842dc.kensington@gentoo \
    --to=kensington@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