# Template file for 'coccinelle'
pkgname=coccinelle
version=1.1.1
revision=1
build_style=gnu-configure
configure_args="--without-pdflatex --enable-release --enable-opt
 --with-python=/usr/bin/python3"
hostmakedepends="python3 automake libtool ocaml"
makedepends="ocaml ocaml-findlib ocaml-num ocaml-stdcompat
 pcre-devel python3-devel"
short_desc="Program matching and transformation engine"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-only"
homepage="https://coccinelle.gitlabpages.inria.fr/website/"
distfiles="https://github.com/coccinelle/coccinelle/archive/refs/tags/$version.tar.gz"
checksum=095919e129ac563586d880ebbc5aac829fec224177090aebe34dc34ed5f142bf
disable_parallel_build=yes
nocross=yes

pre_configure() {
	autoreconf -fi
}
