wok-6.x annotate ocaml/receipt @ rev 14793

Normalize ownership and permissions: caps, catfish, cdparanoia-III-dev, cgames, chemtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 08 17:53:48 2013 +0300 (2013-07-08)
parents 6c5cc6382d3d
children 23c3aed67cd9
rev   line source
pascal@1677 1 # SliTaz package receipt.
pascal@1677 2
pascal@1677 3 PACKAGE="ocaml"
slaxemulator@12317 4 VERSION="3.12.1"
pascal@1677 5 CATEGORY="system-tools"
pascal@1677 6 SHORT_DESC="General-purpose programming language designed for safety and reliability."
pascal@1677 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1677 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2459 9 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
pascal@1677 10 WEB_SITE="http://caml.inria.fr/"
pascal@1677 11 WGET_URL="${WEB_SITE}pub/distrib/$PACKAGE-${VERSION%.*}/$TARBALL"
jozee@4970 12 TAGS="language programming"
pascal@1677 13
pascal@1677 14 # Rules to configure and make the package.
pascal@1677 15 compile_rules()
pascal@1677 16 {
pascal@1677 17 cd $src
pascal@2578 18 grep -q true build/camlp4-targets.sh ||
pascal@2578 19 sed -i 's/base=.*/& || true/' build/camlp4-targets.sh
pascal@3997 20 ./configure --prefix /usr \
pascal@1677 21 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
gokhlayeh@8760 22 make -j1 world opt &&
slaxemulator@12317 23 sed -i "s|^PREFIX=.*|PREFIX=$DESTDIR/usr|" config/Makefile &&
pascal@3997 24 make install
pascal@1677 25 }
pascal@1677 26
pascal@1677 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1677 28 genpkg_rules()
pascal@1677 29 {
pascal@1677 30 mkdir -p $fs/usr
slaxemulator@12317 31 cp -a $install/usr/bin $fs/usr
slaxemulator@12317 32 cp -a $install/usr/lib $fs/usr
pascal@1677 33 }
pascal@1677 34