wok-6.x rev 25524
created recipes for tree-sitter and tree-sitter-dev 0.20.7
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:21:52 2023 +0100 (20 months ago) |
parents | 00914815b485 |
children | 0aa34f26a923 |
files | tree-sitter-dev/receipt tree-sitter/description.txt tree-sitter/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tree-sitter-dev/receipt Fri Feb 24 17:21:52 2023 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tree-sitter-dev" 1.7 +VERSION="0.20.7" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="An incremental parsing system for programming tools - development files." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://tree-sitter.github.io/tree-sitter/" 1.13 + 1.14 +WANTED="tree-sitter" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + get_dev_files 1.20 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/tree-sitter/description.txt Fri Feb 24 17:21:52 2023 +0100 2.3 @@ -0,0 +1,14 @@ 2.4 +Tree-sitter is a parser generator tool and 2.5 +an incremental parsing library. 2.6 +It can build a concrete syntax tree for a 2.7 +source file and efficiently update the 2.8 +syntax tree as the source file is edited. 2.9 + 2.10 +Tree-sitter aims to be: 2.11 +* General enough to parse any programming language 2.12 +* Fast enough to parse on every keystroke in a text editor 2.13 +* Robust enough to provide useful results even in the 2.14 + presence of syntax errors 2.15 +* Dependency-free so that the runtime library 2.16 + (which is written in pure C) can be embedded in 2.17 + any application
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/tree-sitter/receipt Fri Feb 24 17:21:52 2023 +0100 3.3 @@ -0,0 +1,25 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="tree-sitter" 3.7 +VERSION="0.20.7" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="An incremental parsing system for programming tools." 3.10 +MAINTAINER="maintainer@slitaz.org" 3.11 +LICENSE="MIT" 3.12 +WEB_SITE="https://tree-sitter.github.io/tree-sitter/" 3.13 + 3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.15 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz" 3.16 + 3.17 +# Rules to configure and make the package. 3.18 +compile_rules() 3.19 +{ 3.20 + make PREFIX=/usr && 3.21 + make install PREFIX=/usr 3.22 +} 3.23 + 3.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.25 +genpkg_rules() 3.26 +{ 3.27 + cook_copy_files *.so* 3.28 +}