wok-current view neovim/receipt @ rev 25724

Up audacity to 3.0.2, fix openssh/wxWidgets build
author Stanislas Leduc <shann@slitaz.org>
date Tue Jun 25 14:51:14 2024 +0000 (5 months ago)
parents a207ae6fc9cd
children
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 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
28 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 export LDFLAGS="$LDFLAGS -lrt"
35 # without, cmake does not find sys/wait.h !
37 cmake -B _build \
38 -G Ninja \
39 -D CMAKE_BUILD_TYPE=MinSizeRel \
40 -D CMAKE_INSTALL_PREFIX=/usr \
41 -D CMAKE_INSTALL_LIBDIR=lib \
42 -D ENABLE_JEMALLOC=FALSE \
43 -D ENABLE_LIBICONV=FALSE \
44 -D ENABLE_LIBINTL=FALSE \
45 -D ENABLE_LTO=TRUE \
46 -D CMAKE_VERBOSE_MAKEFILE=TRUE &&
47 cmake --build _build
48 DESTDIR="$DESTDIR" cmake --install _build
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 cook_copy_folders bin
55 cook_copy_folders icons
56 cook_copy_folders runtime
57 }