wok-6.x view ocaml/receipt @ rev 14637
Xorg: add xorg-libXScrnSaver(-dev); reformat receipts and add licenses: xorg-libFS* xorg-libICE* xorg-libSM* xorg-libXext* xorg-libXmu* xorg-libXt*
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 12:47:38 2013 +0000 (2013-06-02) |
parents | 6c5cc6382d3d |
children | 23c3aed67cd9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ocaml"
4 VERSION="3.12.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="General-purpose programming language designed for safety and reliability."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
10 WEB_SITE="http://caml.inria.fr/"
11 WGET_URL="${WEB_SITE}pub/distrib/$PACKAGE-${VERSION%.*}/$TARBALL"
12 TAGS="language programming"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 grep -q true build/camlp4-targets.sh ||
19 sed -i 's/base=.*/& || true/' build/camlp4-targets.sh
20 ./configure --prefix /usr \
21 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
22 make -j1 world opt &&
23 sed -i "s|^PREFIX=.*|PREFIX=$DESTDIR/usr|" config/Makefile &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }