SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tree-sitter"

# SliTaz package receipt.

PACKAGE="tree-sitter"
VERSION="0.20.7"
CATEGORY="development"
SHORT_DESC="An incremental parsing system for programming tools."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://tree-sitter.github.io/tree-sitter/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make    PREFIX=/usr &&
    make    install PREFIX=/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)