wok rev 20875

updated erlang (R15B01 -> 21.2.5)
author Hans-G?nter Theisgen
date Sat Feb 23 15:57:08 2019 +0100 (2019-02-23)
parents 3a264e189f04
children 07197587ca55
files erlang/receipt
line diff
     1.1 --- a/erlang/receipt	Sat Feb 23 15:04:17 2019 +0100
     1.2 +++ b/erlang/receipt	Sat Feb 23 15:57:08 2019 +0100
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="erlang"
     1.7 -VERSION="R15B01"
     1.8 +VERSION="21.2.5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Erlang programming language."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -LICENSE="other"
    1.13 -SOURCE="otp_src"
    1.14 -TARBALL="${SOURCE}_$VERSION.tar.gz"
    1.15 +LICENSE="Erlang Public Licence"
    1.16  WEB_SITE="http://$PACKAGE.org/"
    1.17 -WGET_URL="${WEB_SITE}download/$TARBALL"
    1.18 +
    1.19 +SOURCE="OTP"
    1.20 +TARBALL="${SOURCE}-$VERSION.tar.gz"
    1.21 +WGET_URL="https://github.com/$PACKAGE/otp/archive/$TARBALL"
    1.22  
    1.23  DEPENDS="ncurses openssl libunixODBC"
    1.24 -BUILD_DEPENDS="perl ncurses-dev openssl-dev unixODBC-dev icedtea6-jdk"
    1.25 +BUILD_DEPENDS="autoconf perl ncurses-dev openssl-dev unixODBC-dev icedtea6-jdk"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29 @@ -20,9 +21,9 @@
    1.30  	export LDFLAGS="$LDFLAGS -ltinfo"
    1.31  	export LANG=C
    1.32  	
    1.33 -	cd $src
    1.34 -	sed -i 's|./Install|sh -x Install|' Makefile*
    1.35 +#	sed -i 's|./Install|sh -x Install|' Makefile*
    1.36  	
    1.37 +	./otp_build autoconf &&
    1.38  	./configure \
    1.39  		--prefix=/usr \
    1.40  		--sysconfdir=/etc \