wok-6.x view ocaml/receipt @ rev 22528

updated bacon (3.8.1 -> 3.9.3)
author Hans-G?nter Theisgen
date Thu Jan 02 17:20:30 2020 +0100 (2020-01-02)
parents 42380dbaadb7
children e1e99c585768
line source
1 # SliTaz package receipt.
3 PACKAGE="ocaml"
4 VERSION="4.07.1"
5 CATEGORY="system-tools"
6 TAGS="language programming"
7 SHORT_DESC="General-purpose programming language designed for safety and reliability."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="QPL LGPL2"
10 WEB_SITE="https://ocaml.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix /usr \
22 --bindir /usr/bin \
23 --libdir /usr/lib \
24 --mandir /usr/share/man/man1 \
25 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
26 make -j1 world opt &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 }