aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-03-16 02:30:28 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-03-16 02:30:59 +0100
commitd96193c4d8b8146586dd97ef1b30ebb714910c94 (patch)
treec4e714e512d3c122420d89d5aa7cb642b8b6083a /community
parent5e0352e4a40ccd4e9dfa60baeb346bf1e391c448 (diff)
downloadaports-d96193c4d8b8146586dd97ef1b30ebb714910c94.tar.gz
aports-d96193c4d8b8146586dd97ef1b30ebb714910c94.tar.bz2
aports-d96193c4d8b8146586dd97ef1b30ebb714910c94.tar.xz
community/ocaml: move *.byte executables to -dev subpkg
Diffstat (limited to 'community')
-rw-r--r--community/ocaml/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/community/ocaml/APKBUILD b/community/ocaml/APKBUILD
index cdc9ad4e73..3747b897a4 100644
--- a/community/ocaml/APKBUILD
+++ b/community/ocaml/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ocaml
pkgver=4.06.1
-pkgrel=1
+pkgrel=2
pkgdesc="Main implementation of the Caml programming language"
url="http://ocaml.org/"
arch="all !x86 !armhf !s390x"
@@ -13,6 +13,7 @@ makedepends="gdbm-dev libc-dev ncurses-dev zlib-dev"
options="textrels"
subpackages="
$pkgname-doc
+ $pkgname-dev
$pkgname-ocamldoc
$pkgname-compiler-libs:_compiler_libs
$pkgname-runtime
@@ -69,6 +70,12 @@ package() {
ln -s ocamldoc.opt usr/bin/ocamldoc
}
+dev() {
+ pkgdesc="OCaml bytecode executables"
+
+ _submv 'usr/bin/*.byte'
+}
+
ocamldoc() {
pkgdesc="Documentation generator for OCaml"
depends="$pkgname=$pkgver-r$pkgrel"