dev-lua/luv: initial import

This commit is contained in:
Julian Ospald 2019-10-22 16:28:35 +08:00
parent 36b4e348cc
commit ca9904a7c9
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 36 additions and 0 deletions

View File

@ -15,6 +15,7 @@ dev-haskell
dev-java dev-java
dev-lang dev-lang
dev-libs dev-libs
dev-lua
dev-ocaml dev-ocaml
dev-perl dev-perl
dev-python dev-python

View File

@ -0,0 +1,35 @@
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
# 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
)