wok annotate ocaml/receipt @ rev 23401
updated perl-test-pod-coverage (1.08 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:42:48 2020 +0100 (2020-03-31) |
parents | 019e49ad6c06 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@1677 | 1 # SliTaz package receipt. |
pascal@1677 | 2 |
pascal@1677 | 3 PACKAGE="ocaml" |
Hans-G?nter@23255 | 4 VERSION="4.10.0" |
pascal@1677 | 5 CATEGORY="system-tools" |
Hans-G?nter@21592 | 6 TAGS="language programming" |
pascal@1677 | 7 SHORT_DESC="General-purpose programming language designed for safety and reliability." |
pascal@1677 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 9 LICENSE="QPL LGPL2" |
Hans-G?nter@21592 | 10 WEB_SITE="https://ocaml.org/" |
Hans-G?nter@21592 | 11 |
pascal@1677 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21592 | 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@1677 | 14 |
pascal@15601 | 15 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp" |
pascal@15601 | 16 |
pascal@1677 | 17 # Rules to configure and make the package. |
pascal@1677 | 18 compile_rules() |
pascal@1677 | 19 { |
Hans-G?nter@21592 | 20 ./configure \ |
Hans-G?nter@21592 | 21 --prefix /usr \ |
Hans-G?nter@21592 | 22 --bindir /usr/bin \ |
Hans-G?nter@21592 | 23 --libdir /usr/lib \ |
Hans-G?nter@21592 | 24 --mandir /usr/share/man/man1 \ |
Hans-G?nter@21592 | 25 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') && |
gokhlayeh@8760 | 26 make -j1 world opt && |
pascal@3997 | 27 make install |
pascal@1677 | 28 } |
pascal@1677 | 29 |
pascal@1677 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1677 | 31 genpkg_rules() |
pascal@1677 | 32 { |
pascal@1677 | 33 mkdir -p $fs/usr |
Hans-G?nter@21592 | 34 |
slaxemulator@12317 | 35 cp -a $install/usr/bin $fs/usr |
slaxemulator@12317 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1677 | 37 } |