wok-current view ocaml/receipt @ rev 2072
Add: Thunar, Thunar-dev, thunar-archive-plugin, thunar-volman for Xfce
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 23 23:03:33 2009 +0100 (2009-01-23) |
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 }