From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D0E6E138334 for ; Thu, 31 Jan 2019 14:05:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD1C4E0A88; Thu, 31 Jan 2019 14:05:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8A09AE0A88 for ; Thu, 31 Jan 2019 14:05:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1240E335D59 for ; Thu, 31 Jan 2019 14:05:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 862624D7 for ; Thu, 31 Jan 2019 14:05:48 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1548943436.6899a4e4f42be62e9150d22fa5a88ff0ffffb339.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luaevent/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/luaevent/Manifest dev-lua/luaevent/luaevent-0.4.6.ebuild X-VCS-Directories: dev-lua/luaevent/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 6899a4e4f42be62e9150d22fa5a88ff0ffffb339 X-VCS-Branch: master Date: Thu, 31 Jan 2019 14:05:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ae859c26-a7b7-4df0-8725-96fff93451d1 X-Archives-Hash: 35aac7aa19cf5ceb79b0a400e36d1446 commit: 6899a4e4f42be62e9150d22fa5a88ff0ffffb339 Author: Anthony G. Basile gentoo org> AuthorDate: Thu Jan 31 14:03:56 2019 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jan 31 14:03:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6899a4e4 dev-lua/luaevent: version bump to 0.4.6 Signed-off-by: Anthony G. Basile gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-lua/luaevent/Manifest | 1 + dev-lua/luaevent/luaevent-0.4.6.ebuild | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-lua/luaevent/Manifest b/dev-lua/luaevent/Manifest index d55339bdf77..5324d59c933 100644 --- a/dev-lua/luaevent/Manifest +++ b/dev-lua/luaevent/Manifest @@ -1,2 +1,3 @@ DIST luaevent-0.4.3.tar.gz 29861 BLAKE2B aa1a2bf3ac708f012fc168616ac19deef55b805deff9e02464d089efa1fe88084103f3638a0443d6df0a699ab95730469f6d15107d4eb2dbcc112412a41a43d4 SHA512 5f02c9d40e59589a2b932b49d27230ca6650174feeda2cf412769c33af056c9df52d38fdd5fc12f0f6318b788e29a2deef54f11beb4becc48818edd27185f161 DIST luaevent-0.4.4.tar.gz 22249 BLAKE2B f4375e02a4a0e2a4517e559b6625188bc0b577f5dc2ce843ba2d9b8811f2953a3255ebf7ee28313731ecc5c7c4877ef78c119a4633361eea2f915426b6a92a2e SHA512 2f2d669e645c3186d5060f2a5358fed4756087e173bd94431cf74b158fc25ff8de4640f1a832704d1431a7b10797385a449ae79ce049e98edc414260cd4c85ea +DIST luaevent-0.4.6.tar.gz 22599 BLAKE2B 2f70ef105ce43d6b48e69bcc896e20a64ca49e124ad979f5191606d10bb61de1664782016b55cc9f2bc32a704d8f0b4d664eebd8176905f72f9a4e3d1e8b0fdd SHA512 21e222d5bba75fd2e623a8abf20fc3cd38505bf7d3fe94d8781ed626556c398a8501775eb423f0567918cc75f2d846026d4aa559ac5129eca8261f0c73427913 diff --git a/dev-lua/luaevent/luaevent-0.4.6.ebuild b/dev-lua/luaevent/luaevent-0.4.6.ebuild new file mode 100644 index 00000000000..84700e9d48e --- /dev/null +++ b/dev-lua/luaevent/luaevent-0.4.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="libevent bindings for Lua" +HOMEPAGE="http://luaforge.net/projects/luaevent" +SRC_URI="https://github.com/harningt/luaevent/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND="dev-lang/lua:0 + dev-libs/libevent:0=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i "s:^CFLAGS =:CFLAGS +=:" "${S}/Makefile" \ + || die "sed failed" + sed -i "s:^LDFLAGS =:LDFLAGS +=:" "${S}/Makefile" \ + || die "sed failed" + sed -i "/^LDFLAGS/a CC = $(tc-getCC)" "${S}/Makefile" \ + || die "sed failed" + sed -i "s:^LUA_INC_DIR ?=.*:LUA_INC_DIR ?= $(pkg-config --variable INSTALL_INC lua):" "${S}/Makefile" \ + || die "sed failed" + sed -i "s:^INSTALL_DIR_LUA ?=.*:INSTALL_DIR_LUA ?= $(pkg-config --variable INSTALL_LMOD lua):" "${S}/Makefile" \ + || die "sed failed" + sed -i "s:^INSTALL_DIR_BIN ?=.*:INSTALL_DIR_BIN ?= $(pkg-config --variable INSTALL_CMOD lua):" "${S}/Makefile" \ + || die "sed failed" + eapply_user +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +}