wok view ocaml/receipt @ rev 24070
Up harfbuzz (2.8.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 06 14:28:49 2021 +0000 (2021-07-06) |
parents | e1e99c585768 |
children | ad300ac54f56 |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix /usr \
28 --bindir /usr/bin \
29 --libdir /usr/lib \
30 --mandir /usr/share/man/man1 \
31 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
32 make -j1 world opt &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 }