camlp4: removed, obsolete, does not work with OCaml 4.10

This commit is contained in:
Leah Neukirchen 2020-02-22 14:11:35 +01:00 committed by Leah Neukirchen
parent 168bc64637
commit ad3d41f3e1
3 changed files with 0 additions and 39 deletions

View file

@ -1,11 +0,0 @@
--- configure.orig
+++ configure
@@ -39,7 +39,7 @@
echo "The standalone Camlp4 requires OCaml >= 4.02."
echo "For previous versions of OCaml use the Camlp4 distributed with OCaml."
exit 2
-elif [ $major -ne 4 -o $minor -ne 8 ]; then
+elif [ $major -ne 4 -o $minor -ne 9 ]; then
echo "This version of Camlp4 is for OCaml 4.07 but you are using OCaml $ocaml_version."
if [ -d .git ] ; then
if [ $PINNED -eq 1 ] ; then

View file

@ -1,27 +0,0 @@
# Template file for 'camlp4'
pkgname=camlp4
version=4.08+1
revision=2
wrksrc="camlp4-${version/+/-}"
build_style=configure
hostmakedepends="ocaml ocamlbuild"
short_desc="Caml preprocessor and pretty-printer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.0-only"
homepage="https://github.com/ocaml/camlp4"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=655cd3bdcafbf8435877f60f4b47dd2eb69feef5afd8881291ef01ba12bd9d88
nocross=yes
nopie=yes
do_build() {
make all camlp4/META
}
do_install() {
make \
BINDIR="$DESTDIR/usr/bin" \
LIBDIR="$DESTDIR/usr/lib/ocaml" \
PKGDIR="$DESTDIR/usr/lib/ocaml" \
install install-META
}

View file

@ -1 +0,0 @@
pattern="/archive/\K[\d.]+\+[\d]+(?=\.tar\.gz)"