wok-current annotate ocaml/receipt @ rev 22238
updated xorg-makedepend (1.0.4 -> 1.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 09:08:19 2019 +0100 (2019-11-12) |
parents | 42380dbaadb7 |
children | e1e99c585768 |
rev | line source |
---|---|
pascal@1677 | 1 # SliTaz package receipt. |
pascal@1677 | 2 |
pascal@1677 | 3 PACKAGE="ocaml" |
Hans-G?nter@21592 | 4 VERSION="4.07.1" |
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 } |