wok-next view ocaml/receipt @ rev 20620

Up / fix build: ocaml, unison, vfu, viewnior.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 17:36:49 2018 +0300 (2018-04-21)
parents d43bf7aae921
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ocaml"
4 VERSION="4.06.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="General-purpose programming language designed for safety and reliability"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="QPL LGPL2"
9 WEB_SITE="http://ocaml.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/ocaml/ocaml/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="xorg-libX11-dev"
16 compile_rules() {
17 ./configure \
18 -prefix /usr \
19 -x11include /usr/include \
20 &&
21 make world.opt &&
22 make \
23 PREFIX=/usr \
24 MANDIR=/usr/share/man \
25 install
26 }
28 genpkg_rules() {
29 copy @std @dev
30 DEPENDS="libbfd ncurses xorg-libX11"
31 TAGS="language programming"
32 }