aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-03-09 17:59:30 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-03-09 18:27:24 +0100
commit8530b1bd92515675782ad22333ef86cc1c97754c (patch)
treee781c9080a3b2551823715c23842a68aac21a269 /community
parent056306161c32f1c4fcac537c82bad1945d30277a (diff)
downloadaports-8530b1bd92515675782ad22333ef86cc1c97754c.tar.bz2
aports-8530b1bd92515675782ad22333ef86cc1c97754c.tar.xz
community/ocaml-camlp4: rename camlp4 to ocaml-camlp4
Diffstat (limited to 'community')
-rw-r--r--community/lablgtk/APKBUILD2
-rw-r--r--community/ocaml-camlp4/APKBUILD (renamed from community/camlp4/APKBUILD)9
-rw-r--r--community/opam/APKBUILD2
3 files changed, 8 insertions, 5 deletions
diff --git a/community/lablgtk/APKBUILD b/community/lablgtk/APKBUILD
index 2adb70e5cb..d7f99de6fc 100644
--- a/community/lablgtk/APKBUILD
+++ b/community/lablgtk/APKBUILD
@@ -9,7 +9,7 @@ url="http://lablgtk.forge.ocamlcore.org/"
arch="x86_64 ppc64le"
license="GPL"
depends_dev="lablgtk gtk+-dev gtkspell-dev librsvg-dev gtksourceview2-dev"
-depends="ocaml-findlib camlp4 ocaml"
+depends="ocaml-findlib ocaml-camlp4 ocaml"
makedepends="$depends $depends_dev"
subpackages="$pkgname-doc $pkgname-dev"
source="https://forge.ocamlcore.org/frs/download.php/1627/lablgtk-$pkgver.tar.gz"
diff --git a/community/camlp4/APKBUILD b/community/ocaml-camlp4/APKBUILD
index f153a86772..ea97256ea9 100644
--- a/community/camlp4/APKBUILD
+++ b/community/ocaml-camlp4/APKBUILD
@@ -1,6 +1,7 @@
# Contributor: Jon Ong <jonongjs@rottenmage.com>
# Maintainer: Anil Madhavapeddy <anil@recoil.org>
-pkgname=camlp4
+pkgname=ocaml-camlp4
+_pkgname=camlp4
# NOTE: camlp4 version must match ocaml version!
pkgver=4.04
_versuffix='+1'
@@ -12,8 +13,10 @@ arch="all !x86 !armhf !s390x" # ocaml not avail on excluded platforms
license="LGPL-2.0-or-later-WITH-linking-exception"
depends="ocaml"
makedepends="ocamlbuild"
-source="$pkgname-$_pkgver.tar.gz::https://github.com/ocaml/$pkgname/archive/$_pkgver.tar.gz"
-builddir="$srcdir/$pkgname-${_pkgver/+/-}"
+replaces="camlp4" # for backward compatibility
+provides="camlp4=$pkgver-r$pkgrel" # for backward compatibility
+source="$_pkgname-$_pkgver.tar.gz::https://github.com/ocaml/$_pkgname/archive/$_pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-${_pkgver/+/-}"
build() {
cd "$builddir"
diff --git a/community/opam/APKBUILD b/community/opam/APKBUILD
index 2816d601b0..a234527260 100644
--- a/community/opam/APKBUILD
+++ b/community/opam/APKBUILD
@@ -7,7 +7,7 @@ pkgdesc="OCaml Package Manager"
url="https://opam.ocaml.org"
arch="all !x86 !armhf !s390x" # ocaml not avail on excluded platforms
license="LGPL-3.0"
-depends="ocaml camlp4 curl tar unzip rsync aspcud patch"
+depends="ocaml ocaml-camlp4 curl tar unzip rsync aspcud patch"
makedepends="$depends_dev"
source="https://github.com/ocaml/$pkgname/releases/download/$pkgver/$pkgname-full-$pkgver.tar.gz
fix-default-stubsdir.patch"