void-packages/srcpkgs/coccinelle/template

24 lines
728 B
Bash

# Template file for 'coccinelle'
pkgname=coccinelle
version=1.0.8
revision=3
build_style=gnu-configure
configure_args="--without-pdflatex --enable-release
--with-python=/usr/bin/python3"
hostmakedepends="python3 automake libtool"
makedepends="ocaml ocaml-findlib ocaml-num pcre-devel python3-devel"
short_desc="Program matching and transformation engine"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://coccinelle.lip6.fr/"
distfiles="https://github.com/coccinelle/coccinelle/archive/${version}.tar.gz"
checksum=9f994bf98bc88c333ac7a54a03d4fa1826122eec7016a1f22c6b2ef2a6a4347f
export OCAMLPARAM="safe-string=0,_"
disable_parallel_build=yes
nocross=yes
pre_configure() {
autoreconf -fi
}