wok annotate ocaml/receipt @ rev 21446

minicom: modified WGET_URL
author Hans-G?nter Theisgen
date Mon Apr 29 16:13:18 2019 +0100 (2019-04-29)
parents 23c3aed67cd9
children 019e49ad6c06
rev   line source
pascal@1677 1 # SliTaz package receipt.
pascal@1677 2
pascal@1677 3 PACKAGE="ocaml"
slaxemulator@12317 4 VERSION="3.12.1"
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@15601 8 LICENSE="QPL LGPL2"
pascal@1677 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1677 10 WEB_SITE="http://caml.inria.fr/"
pascal@1677 11 WGET_URL="${WEB_SITE}pub/distrib/$PACKAGE-${VERSION%.*}/$TARBALL"
jozee@4970 12 TAGS="language programming"
pascal@1677 13
pascal@15601 14 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
pascal@15601 15
pascal@1677 16 # Rules to configure and make the package.
pascal@1677 17 compile_rules()
pascal@1677 18 {
pascal@19293 19 sed -i 's|PREFIX)/man|PREFIX)/share/man|' configure
pascal@2578 20 grep -q true build/camlp4-targets.sh ||
pascal@2578 21 sed -i 's/base=.*/& || true/' build/camlp4-targets.sh
pascal@3997 22 ./configure --prefix /usr \
pascal@1677 23 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
gokhlayeh@8760 24 make -j1 world opt &&
slaxemulator@12317 25 sed -i "s|^PREFIX=.*|PREFIX=$DESTDIR/usr|" config/Makefile &&
pascal@3997 26 make install
pascal@1677 27 }
pascal@1677 28
pascal@1677 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1677 30 genpkg_rules()
pascal@1677 31 {
pascal@1677 32 mkdir -p $fs/usr
slaxemulator@12317 33 cp -a $install/usr/bin $fs/usr
slaxemulator@12317 34 cp -a $install/usr/lib $fs/usr
pascal@1677 35 }
pascal@1677 36