wok diff ocaml/receipt @ rev 1869
Cleanup tck/tk packages.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Dec 16 22:46:36 2008 +0100 (2008-12-16) |
parents | |
children | 4482e0fab13a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ocaml/receipt Tue Dec 16 22:46:36 2008 +0100 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 +