wok diff ocaml/receipt @ rev 1787
Add lighttpd-ssl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 30 15:28:35 2008 +0000 (2008-11-30) |
parents | |
children | 4482e0fab13a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ocaml/receipt Sun Nov 30 15:28:35 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 +