wok view ocaml/receipt @ rev 23766

qemu/cloop: tiny fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 06 19:55:46 2020 +0000 (2020-05-06)
parents 019e49ad6c06
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="ocaml"
4 VERSION="4.10.0"
5 CATEGORY="system-tools"
6 TAGS="language programming"
7 SHORT_DESC="General-purpose programming language designed for safety and reliability."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="QPL LGPL2"
10 WEB_SITE="https://ocaml.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix /usr \
22 --bindir /usr/bin \
23 --libdir /usr/lib \
24 --mandir /usr/share/man/man1 \
25 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
26 make -j1 world opt &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 }