From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- dev-lua/lutok/Manifest | 1 + dev-lua/lutok/lutok-0.4-r10.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-lua/lutok/lutok-0.4-r10.ebuild (limited to 'dev-lua/lutok') diff --git a/dev-lua/lutok/Manifest b/dev-lua/lutok/Manifest index 6c5f306bcb30..62e2732885be 100644 --- a/dev-lua/lutok/Manifest +++ b/dev-lua/lutok/Manifest @@ -1,4 +1,5 @@ DIST lutok-0.4.tar.gz 489570 BLAKE2B b4bc26d9a4901901e6ca66a41bc42ccc2f82697ff14e64c1bea35b4a9ed08b6f13ecfa9aaabb54e25fb3e4f3aea03791c225c4c8fc6ed3e0387d34d933a228e9 SHA512 664f30099bfbb30978e24068a9232a4ff1b5b1839c601bf784f35f6bb1394558067495093a3b0343c94e756d2e4186a32a8227baf5934c15c45905f7c0a5d19c EBUILD lutok-0.4-r1.ebuild 754 BLAKE2B 3fe886271f7515a575d95112777472c40b32f700ae0191e6d284f8ba767567c4c8dc4ad155ed4e25474a71b73554ffed6127bdb102df3706a1121d987595df13 SHA512 a003eb9cb09759e8a467cf926e441e2583a78d730cfbe35d0dba66f64970a46928ff608a522b45c6bab0e2974bec7cc901a875f4f2465f1fec445bbb203c96ba +EBUILD lutok-0.4-r10.ebuild 1025 BLAKE2B 6cc449e4de7d5b5b9e560248896c1eac8f8ee877ae269a389b2c7f0317803f25e6cba6fac802355a58d50734f93b2e5654aeb5488a6bac3f5e91846b90db3099 SHA512 f59b9a4140f7947a3d117e05d9e6208a8bf06867b71e442a7e8f02482a1e6d388cd9f934257debbf8fd29e7728c037d1f1a6aa76343ea65797d7528fccdbc186 EBUILD lutok-0.4-r2.ebuild 837 BLAKE2B 3d3fe5fcbd35fe809def568aa4dfd4f75285534b52697d5d21bd873337dc4ddd830d7c28726cccd84edf16182bf19c7ccfbde070bbe9ad30f195c7a8374084fd SHA512 b46af7dc3a0ac47b394ec507ddaa162d3f75d3f11186ed99e0fcb2c393f776abe1eacb41313afdce1bfe3b4ee30ed429be60f5c68e99d711f9d4b425b2e7df2c MISC metadata.xml 246 BLAKE2B f94a229d0ffd7220f14c23ca2b0b6b84128338b5af27cd18ddb0c9e2f95f51c943fdfbc368c03b4a87d7bb381c668158fdc169fd067cc0cd8cd35852acc29d62 SHA512 b6df287a6e1f18bf267a05d8eb6dea788ae7ec74de31d9cea76fea038e4090c6a83d62221505d280d55e9b314d059c409e442951d78eb3a58928307ff118147b diff --git a/dev-lua/lutok/lutok-0.4-r10.ebuild b/dev-lua/lutok/lutok-0.4-r10.ebuild new file mode 100644 index 000000000000..378ed963caf4 --- /dev/null +++ b/dev-lua/lutok/lutok-0.4-r10.ebuild @@ -0,0 +1,49 @@ +# Copyright 2017-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +LUA_COMPAT=( lua5-{1..4} ) + +inherit lua-single + +DESCRIPTION="Lightweight C++ API library for Lua" +HOMEPAGE="https://github.com/jmmv/lutok" +SRC_URI="https://github.com/jmmv/lutok/releases/download/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-libs/atf + dev-util/kyua + ) +" +DEPEND="${LUA_DEPS}" +RDEPEND="${DEPEND}" + +pkg_setup() { + : +} + +src_configure() { + lua_setup + local myconf=( + --enable-shared + --disable-static + LUA_CFLAGS="$(lua_get_CFLAGS)" + LUA_LIBS="$(lua_get_LIBS)" + ) + econf "${myconf[@]}" +} + +src_install() { + default + rm -rf "${ED}"/usr/tests || die + find "${ED}" -name '*.la' -type f -delete || die +} -- cgit v1.2.3