wok-current diff ocaml/receipt @ rev 22942

updated icewm again (1.3.8 -> 1.6.4)
author Hans-G?nter Theisgen
date Thu Feb 27 17:34:50 2020 +0100 (2020-02-27)
parents 42380dbaadb7
children e1e99c585768
line diff
     1.1 --- a/ocaml/receipt	Wed Jul 06 15:27:44 2016 +0200
     1.2 +++ b/ocaml/receipt	Thu Feb 27 17:34:50 2020 +0100
     1.3 @@ -1,28 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ocaml"
     1.7 -VERSION="3.12.1"
     1.8 +VERSION="4.07.1"
     1.9  CATEGORY="system-tools"
    1.10 +TAGS="language programming"
    1.11  SHORT_DESC="General-purpose programming language designed for safety and reliability."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="QPL LGPL2"
    1.14 +WEB_SITE="https://ocaml.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://caml.inria.fr/"
    1.18 -WGET_URL="${WEB_SITE}pub/distrib/$PACKAGE-${VERSION%.*}/$TARBALL"
    1.19 -TAGS="language programming"
    1.20 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
    1.21  
    1.22  DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	sed -i 's|PREFIX)/man|PREFIX)/share/man|' configure
    1.28 -	grep -q true build/camlp4-targets.sh ||
    1.29 -		sed -i 's/base=.*/& || true/' build/camlp4-targets.sh
    1.30 -	./configure --prefix /usr \
    1.31 -	$(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
    1.32 +	./configure				\
    1.33 +		--prefix /usr			\
    1.34 +		--bindir /usr/bin		\
    1.35 +		--libdir /usr/lib		\
    1.36 +		--mandir /usr/share/man/man1	\
    1.37 +		$(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
    1.38  	make -j1 world opt &&
    1.39 -	sed -i "s|^PREFIX=.*|PREFIX=$DESTDIR/usr|" config/Makefile &&
    1.40  	make install
    1.41  }
    1.42  
    1.43 @@ -30,7 +31,7 @@
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr
    1.47 +
    1.48  	cp -a $install/usr/bin $fs/usr
    1.49  	cp -a $install/usr/lib $fs/usr
    1.50  }
    1.51 -