wok-6.x view ocaml/receipt @ rev 2325

Add rt2860sta Wireless module (used on some EeePC)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 28 00:46:15 2009 +0100 (2009-02-28)
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 }