public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/
Date: Sun, 22 Nov 2020 17:44:42 +0000 (UTC)	[thread overview]
Message-ID: <1606067072.2e5274c088fea28e6f97f7f7a7396870b7388b94.conikost@gentoo> (raw)

commit:     2e5274c088fea28e6f97f7f7a7396870b7388b94
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 17:44:18 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 17:44:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e5274c0

dev-lua/luasocket: bump to newest snapshot

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../luasocket/luasocket-3.0_rc1_p20200328.ebuild   | 73 ++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild
new file mode 100644
index 00000000000..4591859cc60
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
+LUA_REQ_USE="${MULTILIB_USEDEP}"
+
+inherit flag-o-matic multilib multilib-minimal toolchain-funcs
+
+DESCRIPTION="Networking support library for the Lua language"
+HOMEPAGE="
+	http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
+	https://github.com/diegonehab/luasocket
+"
+SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+RESTRICT="test"
+
+RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+HTML_DOCS="doc/."
+
+src_prepare() {
+	default
+
+	# Respect users CFLAGS
+	sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
+
+	# Workaround for 32-bit systems
+	append-cflags -fno-stack-protector
+
+	multilib_copy_sources
+}
+
+multilib_src_compile() {
+	local myemakeargs=(
+		"CC=$(tc-getCC)"
+		"LD=$(tc-getCC)"
+		"LDFLAGS_linux=-O -fpic -shared -o"
+		"LUAINC_linux=$($(tc-getPKG_CONFIG) --variable INSTALL_INC lua)/lua$($(tc-getPKG_CONFIG) --variable V lua)"
+		"LUAV=$($(tc-getPKG_CONFIG) --variable V lua)"
+		"MYCFLAGS=${CFLAGS}"
+		"MYLDFLAGS=${LDFLAGS}"
+	)
+
+	emake "${myemakeargs[@]}" all
+}
+
+multilib_src_install() {
+	local myemakeargs=(
+		"CDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
+		"DESTDIR=${ED}"
+		"LDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
+		"LUAPREFIX_linux="
+	)
+
+	emake "${myemakeargs[@]}" install
+	emake "${myemakeargs[@]}" install-unix
+
+	insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_INC lua)/$($(tc-getPKG_CONFIG) --variable V lua)"/luasocket
+	doins src/*.h
+}
+
+multilib_src_install_all() {
+	einstalldocs
+}


             reply	other threads:[~2020-11-22 17:44 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-22 17:44 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-30  8:09 [gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/ Conrad Kostecki
2022-08-30  5:42 Joonas Niilola
2022-08-30  5:42 Joonas Niilola
2022-08-30  4:35 Arthur Zamarin
2022-08-30  4:35 Arthur Zamarin
2022-08-30  4:35 Arthur Zamarin
2022-08-30  4:35 Arthur Zamarin
2022-08-30  4:35 Arthur Zamarin
2022-07-27 18:55 Conrad Kostecki
2022-05-14 14:46 Conrad Kostecki
2022-05-03 18:09 Arthur Zamarin
2022-04-30 19:09 Sam James
2022-04-29 21:39 Sam James
2022-04-29 21:36 Sam James
2022-04-29 21:36 Sam James
2021-11-20  1:08 Conrad Kostecki
2021-11-19 17:50 Jakov Smolić
2021-11-19  8:10 Agostino Sarubbo
2021-11-19  7:59 Arthur Zamarin
2021-11-19  6:18 Arthur Zamarin
2021-11-19  2:43 Sam James
2021-11-19  2:43 Sam James
2021-11-19  2:09 Sam James
2021-04-20 21:20 Sergei Trofimovich
2021-02-21 21:22 Conrad Kostecki
2021-01-23 22:51 Sam James
2021-01-23 22:50 Sam James
2021-01-23 22:42 Sam James
2020-12-14 17:59 Conrad Kostecki
2020-12-14 17:59 Conrad Kostecki
2020-11-29 15:37 Conrad Kostecki
2020-11-29 15:37 Conrad Kostecki
2020-11-22 17:44 Conrad Kostecki
2020-11-14 15:19 Conrad Kostecki
2020-08-12  6:01 Agostino Sarubbo
2020-08-11 11:00 Agostino Sarubbo
2020-08-09 16:51 Sergei Trofimovich
2020-08-08 10:31 Sergei Trofimovich
2020-08-07 18:05 Sam James
2020-08-07 11:48 Agostino Sarubbo
2020-08-07 11:47 Agostino Sarubbo
2020-08-06 19:05 Sam James
2020-08-05 12:19 Joonas Niilola
2020-07-09  7:54 Joonas Niilola
2020-07-09  7:54 Joonas Niilola
2019-02-19 21:15 Markus Meier
2019-02-09 18:36 Thomas Deutschmann
2019-02-07 10:52 Mikle Kolyada
2019-02-02 21:17 Sergei Trofimovich
2019-02-02 19:09 Sergei Trofimovich
2019-01-28 19:38 Sergei Trofimovich
2017-07-29 12:34 Alexis Ballier
2017-07-23 12:12 Manuel Rüger
2017-01-22  1:27 Manuel Rüger

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=1606067072.2e5274c088fea28e6f97f7f7a7396870b7388b94.conikost@gentoo \
    --to=conikost@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