wok-6.x rev 1677
Add ocaml
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 14:00:28 2008 +0000 (2008-11-08) |
parents | 690da2cb396e |
children | 5d5fa3f27a35 |
files | ocaml/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ocaml/receipt Sat Nov 08 14:00:28 2008 +0000 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ocaml" 1.7 +VERSION="3.10.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="General-purpose programming language designed for safety and reliability." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://caml.inria.fr/" 1.13 +WGET_URL="${WEB_SITE}pub/distrib/$PACKAGE-${VERSION%.*}/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure --prefix $PWD/_pkg/usr \ 1.20 + $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') && 1.21 + make world && make install 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr 1.28 + cp -a $_pkg/usr/bin $fs/usr 1.29 + cp -a $_pkg/usr/lib $fs/usr 1.30 +} 1.31 +