diff --git a/packages/dev-lua/luv/luv-1.34.1_p0.exheres-0 b/packages/dev-lua/luv/luv-1.34.1_p0.exheres-0 new file mode 100644 index 00000000..2ccf5069 --- /dev/null +++ b/packages/dev-lua/luv/luv-1.34.1_p0.exheres-0 @@ -0,0 +1,35 @@ +# Copyright 2019 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +MY_PV=${PV/_p/-} +WORK=${WORKBASE}/${PN}-${MY_PV} + +require cmake [ api=2 ] + +SUMMARY="Bare libuv bindings for lua" +HOMEPAGE="https://github.com/luvit/luv" +DOWNLOADS="https://github.com/luvit/luv/releases/download/${MY_PV}/luv-${MY_PV}.tar.gz" + +LICENCES="Apache-2.0" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + dev-lang/LuaJIT + dev-libs/libuv +" + +BUGS_TO="hasufell@posteo" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBUILD_MODULE=OFF + -DBUILD_SHARED_LIBS=ON + -DLUA_BUILD_TYPE=System + -DWITH_LUA_ENGINE="LuaJIT" + -DWITH_SHARED_LIBUV=ON +) +