diff --git a/metadata/categories.conf b/metadata/categories.conf index 1d70c1b3..e4b34bac 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -15,6 +15,7 @@ dev-haskell dev-java dev-lang dev-libs +dev-lua dev-ocaml dev-perl dev-python diff --git a/packages/dev-lua/luv/luv-1.30.1_p1.exheres-0 b/packages/dev-lua/luv/luv-1.30.1_p1.exheres-0 new file mode 100644 index 00000000..2ccf5069 --- /dev/null +++ b/packages/dev-lua/luv/luv-1.30.1_p1.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 +) +