wok-6.x annotate ocaml/receipt @ rev 2459
obby, ocaml, odt2txt, opal, openbox, openldap, opentyrian-classic, orpheus: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 14:38:58 2009 +0000 (2009-03-14) |
parents | 7509795d9a72 |
children | bfa8ab3f9688 |
rev | line source |
---|---|
pascal@1677 | 1 # SliTaz package receipt. |
pascal@1677 | 2 |
pascal@1677 | 3 PACKAGE="ocaml" |
pascal@1677 | 4 VERSION="3.10.2" |
pascal@1677 | 5 CATEGORY="system-tools" |
pascal@1677 | 6 SHORT_DESC="General-purpose programming language designed for safety and reliability." |
pascal@1677 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1677 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2459 | 9 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp" |
pascal@1677 | 10 WEB_SITE="http://caml.inria.fr/" |
pascal@1677 | 11 WGET_URL="${WEB_SITE}pub/distrib/$PACKAGE-${VERSION%.*}/$TARBALL" |
pascal@1677 | 12 |
pascal@1677 | 13 # Rules to configure and make the package. |
pascal@1677 | 14 compile_rules() |
pascal@1677 | 15 { |
pascal@1677 | 16 cd $src |
pascal@1677 | 17 ./configure --prefix $PWD/_pkg/usr \ |
pascal@1677 | 18 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') && |
pascal@1677 | 19 make world && make install |
pascal@1677 | 20 } |
pascal@1677 | 21 |
pascal@1677 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1677 | 23 genpkg_rules() |
pascal@1677 | 24 { |
pascal@1677 | 25 mkdir -p $fs/usr |
pascal@1677 | 26 cp -a $_pkg/usr/bin $fs/usr |
pascal@1677 | 27 cp -a $_pkg/usr/lib $fs/usr |
pascal@1677 | 28 } |
pascal@1677 | 29 |