wok view ocaml/receipt @ rev 1760

Up: automake (1.10.2)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Nov 24 22:20:53 2008 +0100 (2008-11-24)
parents
children 4482e0fab13a
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 WEB_SITE="http://caml.inria.fr/"
10 WGET_URL="${WEB_SITE}pub/distrib/$PACKAGE-${VERSION%.*}/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix $PWD/_pkg/usr \
17 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
18 make world && make install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 }