wok-stable view ocaml/receipt @ rev 4673
Up: python-sqlalchemy (0.5.6)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Dec 29 18:32:51 2009 +0000 (2009-12-29) |
parents | bfa8ab3f9688 |
children | 6ec17b55b59a |
line source
1 # SliTaz package receipt.
3 PACKAGE="ocaml"
4 VERSION="3.10.2"
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 grep -q true build/camlp4-targets.sh ||
18 sed -i 's/base=.*/& || true/' build/camlp4-targets.sh
19 ./configure --prefix /usr \
20 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
21 make world opt &&
22 sed -i "s|^PREFIX=.*|PREFIX=$PWD/_pkg/usr|" config/Makefile &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 }