wok-next annotate 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
rev   line source
al@20513 1 # SliTaz package receipt v2.
pascal@1677 2
pascal@1677 3 PACKAGE="ocaml"
al@20620 4 VERSION="4.06.1"
pascal@1677 5 CATEGORY="system-tools"
al@20513 6 SHORT_DESC="General-purpose programming language designed for safety and reliability"
pascal@1677 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="QPL LGPL2"
al@20620 9 WEB_SITE="http://ocaml.org/"
al@20513 10
pascal@1677 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20620 12 WGET_URL="https://github.com/ocaml/ocaml/archive/$VERSION.tar.gz"
al@20620 13
al@20620 14 BUILD_DEPENDS="xorg-libX11-dev"
pascal@1677 15
al@20513 16 compile_rules() {
al@20513 17 ./configure \
al@20620 18 -prefix /usr \
al@20620 19 -x11include /usr/include \
al@20620 20 &&
al@20620 21 make world.opt &&
al@20620 22 make \
al@20620 23 PREFIX=/usr \
al@20620 24 MANDIR=/usr/share/man \
al@20620 25 install
pascal@1677 26 }
pascal@1677 27
al@20513 28 genpkg_rules() {
al@20620 29 copy @std @dev
al@20620 30 DEPENDS="libbfd ncurses xorg-libX11"
al@20513 31 TAGS="language programming"
pascal@1677 32 }