wok view neovim/receipt @ rev 25529

created recipe for neovim-0.8.3
author Hans-G?nter Theisgen
date Sat Feb 25 14:14:14 2023 +0100 (15 months ago)
parents
children 595fe6959202
line source
1 # SliTaz package receipt.
3 PACKAGE="neovim"
4 VERSION="0.8.3"
5 CATEGORY="editors"
6 TAGS="text-editor"
7 SHORT_DESC="Vim-fork focused on extensibility and usability."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="Apache 2.0"
10 WEB_SITE="https://neovim.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
15 SUGGESTED="lua5.1"
16 DEPENDS="libluv libtermkey libuv libvterm luajit msgpack tree-sitter
17 unibilium"
18 BUILD_DEPENDS="cmake gettext gettext-tools libluv-dev libtermkey-dev
19 libuv-dev libvterm-dev lua5.1-lpeg lua5.1-mpack luajit-dev
20 msgpack-dev ninja tree-sitter-dev unibilium-dev"
22 CONFIG_FILES="/usr/share/nvim/sysinit.vim"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -lrt"
28 # without, cmake does not find sys/wait.h !
30 cmake -B _build \
31 -G Ninja \
32 -D CMAKE_BUILD_TYPE=MinSizeRel \
33 -D CMAKE_INSTALL_PREFIX=/usr \
34 -D CMAKE_INSTALL_LIBDIR=lib \
35 -D ENABLE_JEMALLOC=FALSE \
36 -D ENABLE_LIBICONV=FALSE \
37 -D ENABLE_LIBINTL=FALSE \
38 -D ENABLE_LTO=TRUE \
39 -D CMAKE_VERBOSE_MAKEFILE=TRUE &&
40 cmake --build _build
41 DESTDIR="$DESTDIR" cmake --install _build
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cook_copy_folders bin
48 cook_copy_folders icons
49 cook_copy_folders runtime
50 }