void-packages/srcpkgs/coccinelle/template
2019-08-10 16:57:23 +02:00

26 lines
787 B
Bash

# Template file for 'coccinelle'
pkgname=coccinelle
version=1.0.7
revision=1
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 camlp4 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="http://coccinelle.lip6.fr/distrib/coccinelle-${version}.tar.gz"
checksum=475e2bed5486023d19d9e0dec5e109b04b872a9917b62faf83ce3521676f728b
broken="ocaml 4.08"
export OCAMLPARAM="safe-string=0,_"
disable_parallel_build=yes
nocross=yes
conflicts="pfff" # /usr/bin/spatch
pre_configure() {
autoreconf -fi
}