coccinelle: update to 1.0.7.

This commit is contained in:
maxice8 2019-02-20 11:26:28 -03:00 committed by maxice8
parent 86fa545965
commit 765471aa30
2 changed files with 11 additions and 33 deletions

View File

@ -1,12 +0,0 @@
Building docs requires pdflatex.
--- Makefile.orig 2016-06-08 17:54:25.406353442 +0200
+++ Makefile 2016-06-08 17:54:06.599352471 +0200
@@ -144,7 +144,6 @@
$(MAKE) .depend
$(MAKE) $(TARGET_SPATCH)
$(MAKE) preinstall
- $(MAKE) docs
@$(ECHO) -e "\n\tcoccinelle can now be installed via 'make install'"
all.opt: Makefile.config

View File

@ -1,34 +1,24 @@
# 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"
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}.tgz"
checksum=8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909
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
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
pre_configure() {
autoreconf -fi
}