void-packages/srcpkgs/coccinelle/template

35 lines
1.1 KiB
Bash
Raw Normal View History

2016-06-08 17:58:54 +02:00
# Template file for 'coccinelle'
pkgname=coccinelle
2016-09-28 14:09:14 +02:00
version=1.0.6
2016-06-08 17:58:54 +02:00
revision=1
build_style="gnu-configure"
configure_args="--without-pdflatex"
makedepends="ocaml ocaml-findlib camlp4 pcre-devel python-devel"
short_desc="Program matching and transformation engine"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-2"
homepage="http://coccinelle.lip6.fr/"
distfiles="http://coccinelle.lip6.fr/distrib/coccinelle-${version}.tgz"
2016-09-28 14:09:14 +02:00
checksum=8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909
2016-06-08 17:58:54 +02:00
disable_parallel_build=yes
nopie=yes
nocross=yes
conflicts="pfff" # /usr/bin/spatch
2016-09-28 14:09:14 +02:00
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
}