void-packages/srcpkgs/coccinelle/template

35 lines
1.1 KiB
Bash

# Template file for 'coccinelle'
pkgname=coccinelle
version=1.0.6
revision=3
build_style="gnu-configure"
configure_args="--without-pdflatex"
makedepends="ocaml ocaml-findlib ocaml-num camlp4 pcre-devel python-devel"
short_desc="Program matching and transformation engine"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-2.0-only"
homepage="http://coccinelle.lip6.fr/"
distfiles="http://coccinelle.lip6.fr/distrib/coccinelle-${version}.tgz"
checksum=8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909
export OCAMLPARAM="safe-string=0,_"
disable_parallel_build=yes
nocross=yes
conflicts="pfff" # /usr/bin/spatch
post_extract() {
# cleanup crap from the release tarball
rm ./bundles/pyml/pyml-current/pytypes.o \
./bundles/pyml/pyml-current/dllpyml_stubs.so \
./bundles/pyml/pyml-current/generate \
./bundles/pyml/pyml-current/pycaml.o \
./bundles/pyml/pyml-current/generate.o \
./bundles/pyml/pyml-current/pyml_stubs.o \
./bundles/pyml/pyml-current/pywrappers.o \
./bundles/pyml/pyml-current/pyml_compat.o \
./bundles/pyml/pyml-current/py.o \
./dllpyml_stubs.so \
./tools/spgen/source/spgen.opt \
./tools/spgen/source/spgen
}