SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ocaml"

# SliTaz package receipt.

PACKAGE="ocaml"
VERSION="3.10.2"
CATEGORY="system-tools"
SHORT_DESC="General-purpose programming language designed for safety and reliability."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
WEB_SITE="http://caml.inria.fr/"
WGET_URL="${WEB_SITE}pub/distrib/$PACKAGE-${VERSION%.*}/$TARBALL"
TAGS="language programming"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    grep -q true build/camlp4-targets.sh ||
        sed -i 's/base=.*/& || true/' build/camlp4-targets.sh
    ./configure --prefix /usr \
    $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
    make -j1 world opt &&
    sed -i "s|^PREFIX=.*|PREFIX=$PWD/_pkg/usr|" config/Makefile &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib $fs/usr
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)