SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ocaml"

# SliTaz package receipt.

PACKAGE="ocaml"
VERSION="4.14.0"
CATEGORY="system-tools"
TAGS="language programming"
SHORT_DESC="General-purpose programming language designed for safety and reliability."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="QPL LGPL2"
WEB_SITE="https://ocaml.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"

DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"

HOST_ARCH="i486 x86_64"

current_version()
{
    wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
    sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix /usr            \
        --bindir /usr/bin        \
        --libdir /usr/lib        \
        --mandir /usr/share/man/man1    \
        --disable-force-safe-string    \
        $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
    make -j1 world opt &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    lib
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)