wok-6.x rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (18 months ago) |
parents | 97ca3cd2cfe4 |
children | 000946205748 |
files | neovim/description.txt neovim/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/neovim/description.txt Sat Feb 25 14:14:14 2023 +0100 1.3 @@ -0,0 +1,7 @@ 1.4 +Neovim is a refactor, and sometimes redactor, 1.5 +in the tradition of Vim (which itself derives from Stevie). 1.6 +It is not a rewrite but a continuation and extension of Vim. 1.7 +Many clones and derivatives exist, some very clever - 1.8 +but none are Vim. 1.9 +Neovim is built for users who want the good parts of Vim, 1.10 +and more.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/neovim/receipt Sat Feb 25 14:14:14 2023 +0100 2.3 @@ -0,0 +1,50 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="neovim" 2.7 +VERSION="0.8.3" 2.8 +CATEGORY="editors" 2.9 +TAGS="text-editor" 2.10 +SHORT_DESC="Vim-fork focused on extensibility and usability." 2.11 +MAINTAINER="maintainer@slitaz.org" 2.12 +LICENSE="Apache 2.0" 2.13 +WEB_SITE="https://neovim.io/" 2.14 + 2.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.16 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" 2.17 + 2.18 +SUGGESTED="lua5.1" 2.19 +DEPENDS="libluv libtermkey libuv libvterm luajit msgpack tree-sitter 2.20 + unibilium" 2.21 +BUILD_DEPENDS="cmake gettext gettext-tools libluv-dev libtermkey-dev 2.22 + libuv-dev libvterm-dev lua5.1-lpeg lua5.1-mpack luajit-dev 2.23 + msgpack-dev ninja tree-sitter-dev unibilium-dev" 2.24 + 2.25 +CONFIG_FILES="/usr/share/nvim/sysinit.vim" 2.26 + 2.27 +# Rules to configure and make the package. 2.28 +compile_rules() 2.29 +{ 2.30 + export LDFLAGS="$LDFLAGS -lrt" 2.31 + # without, cmake does not find sys/wait.h ! 2.32 + 2.33 + cmake -B _build \ 2.34 + -G Ninja \ 2.35 + -D CMAKE_BUILD_TYPE=MinSizeRel \ 2.36 + -D CMAKE_INSTALL_PREFIX=/usr \ 2.37 + -D CMAKE_INSTALL_LIBDIR=lib \ 2.38 + -D ENABLE_JEMALLOC=FALSE \ 2.39 + -D ENABLE_LIBICONV=FALSE \ 2.40 + -D ENABLE_LIBINTL=FALSE \ 2.41 + -D ENABLE_LTO=TRUE \ 2.42 + -D CMAKE_VERBOSE_MAKEFILE=TRUE && 2.43 + cmake --build _build 2.44 + DESTDIR="$DESTDIR" cmake --install _build 2.45 +} 2.46 + 2.47 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.48 +genpkg_rules() 2.49 +{ 2.50 + cook_copy_folders bin 2.51 + cook_copy_folders icons 2.52 + cook_copy_folders runtime 2.53 +}