diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-08-05 10:23:25 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-08-05 10:23:44 -0400 |
commit | c1dd7e4b63431dd94ae65a345fe27c44e6154de8 (patch) | |
tree | 80edfd594a63dfe798b81fefeaf7e231be8b6b5a | |
parent | mail-client/sylpheed: add ~arm keyword, #578324 (diff) | |
download | gentoo-c1dd7e4b63431dd94ae65a345fe27c44e6154de8.tar.gz gentoo-c1dd7e4b63431dd94ae65a345fe27c44e6154de8.tar.bz2 gentoo-c1dd7e4b63431dd94ae65a345fe27c44e6154de8.zip |
dev-lua/luaevent: version bump to 0.4.4
Package-Manager: portage-2.2.28
-rw-r--r-- | dev-lua/luaevent/Manifest | 1 | ||||
-rw-r--r-- | dev-lua/luaevent/luaevent-0.4.4.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-lua/luaevent/Manifest b/dev-lua/luaevent/Manifest index 051dbf5282da..ecce4b221797 100644 --- a/dev-lua/luaevent/Manifest +++ b/dev-lua/luaevent/Manifest @@ -1 +1,2 @@ DIST luaevent-0.4.3.tar.gz 29861 SHA256 9a3ea7671caa95af2763a7125818991b3742168db75b3025d04af5241349d9c5 SHA512 5f02c9d40e59589a2b932b49d27230ca6650174feeda2cf412769c33af056c9df52d38fdd5fc12f0f6318b788e29a2deef54f11beb4becc48818edd27185f161 WHIRLPOOL 3b9e0d7dfd0f5d593957d9f34d807ebc3ceef811493efce56732ffb3c436ab21ca835e913f101eb15aa93fe98d5f12ec70538db3ae466bc8579169024ed8ea12 +DIST luaevent-0.4.4.tar.gz 22249 SHA256 242c95b9cacd87201aa35ba618eb1cd0b0e2a7d1a8fc6734c0bc06dd742e2455 SHA512 2f2d669e645c3186d5060f2a5358fed4756087e173bd94431cf74b158fc25ff8de4640f1a832704d1431a7b10797385a449ae79ce049e98edc414260cd4c85ea WHIRLPOOL 59c671ccd58e56eee4d0936b88f6d29a0ef5e619736fe0f169e0fdffe5e211058c2e240c1440d850f4849127a2d197b9bb354ab0d3e4c759ff69613cd51d953d diff --git a/dev-lua/luaevent/luaevent-0.4.4.ebuild b/dev-lua/luaevent/luaevent-0.4.4.ebuild new file mode 100644 index 000000000000..8ebff263c82c --- /dev/null +++ b/dev-lua/luaevent/luaevent-0.4.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +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" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +} |