wok view ocaml/receipt @ rev 24327

updated aspell-en (2019.10.06.0 -> 2020.12.07.0)
author Hans-G?nter Theisgen
date Thu Jan 27 13:26:44 2022 +0100 (2022-01-27)
parents ad300ac54f56
children 816ad9b606a7
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*} 2>/dev/null | \
20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\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 --disable-force-safe-string \
32 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
33 make -j1 world opt &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 }