void-packages/srcpkgs/coccinelle/template
2019-02-20 11:45:25 -03:00

24 lines
766 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
export OCAMLPARAM="safe-string=0,_"
disable_parallel_build=yes
nocross=yes
conflicts="pfff" # /usr/bin/spatch
pre_configure() {
autoreconf -fi
}