wok view libluv/receipt @ rev 25528
try building libluv again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 10:11:09 2023 +0100 (21 months ago) |
parents | 11e12a2c0eb8 |
children | 595fe6959202 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libluv"
4 VERSION="1.44.2.1"
5 CATEGORY="libs"
6 TAGS="lua"
7 SHORT_DESC="Bare libuv bindings for lua."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="Apache-2.0"
10 WEB_SITE="https://github.com/luvit/luv"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/releases/download/${VERSION%.*}-${VERSION: -1}/luv-${VERSION%.*}-${VERSION: -1}.tar.gz"
15 DEPENDS="libuv"
16 BUILD_DEPENDS="cmake libuv-dev luajit-dev ninja"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cmake -B _build \
22 -G Ninja \
23 -DCMAKE_BUILD_TYPE=None \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DWITH_SHARED_LIBUV=ON \
26 -DLUA_BUILD_TYPE=System \
27 -DBUILD_MODULE=OFF \
28 -DBUILD_SHARED_LIBS=ON \
29 -DBUILD_STATIC_LIBS=OFF
30 cmake --build _build
31 DESTDIR="$DESTDIR" cmake --install _build
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }