sparse: update to 0.6.4.

This commit is contained in:
Đoàn Trần Công Danh 2024-07-17 07:16:02 +07:00
parent 2ee24b487a
commit 5452e09e04
1 changed files with 15 additions and 5 deletions

View File

@ -1,18 +1,28 @@
# Template file for 'sparse'
pkgname=sparse
version=0.6.3
version=0.6.4
revision=1
build_style=gnu-makefile
make_use_env=yes
# make_build_args=V=1
hostmakedepends="pkg-config"
# not compatible with llvm18
makedepends="libxml2-devel sqlite-devel"
short_desc="Semantic Parser for C"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MIT"
homepage="https://git.kernel.org/pub/scm/devel/sparse/sparse.git"
distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.gz"
checksum=2de8d57275e382cb00e5513c4f06c168f14ca3811fb630b19e95dfc07175b490
checksum=bd98fd8a122ff79d38a81feb75ec728699101e80701f33f21180912c3c9e949c
pre_build() {
make_build_args="CC=$CC LD=$CC AR=$AR"
do_configure() {
cat <<-EOF >local.mk
CC := $CC
CXX :=$CXX
LD := $CC
AR := $AR
PREFIX = /usr
EOF
}
post_install() {