wok-6.x diff erlang/receipt @ rev 23667
updated squirrelmail-multilogin (2.4-1.2.9 -> 2.4.2-1.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 06:53:18 2020 +0100 (2020-04-26) |
parents | 3e7ded8526ee |
children | a3c45ab9082e |
line diff
1.1 --- a/erlang/receipt Tue Nov 19 11:07:25 2019 +0100 1.2 +++ b/erlang/receipt Sun Apr 26 06:53:18 2020 +0100 1.3 @@ -1,20 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="erlang" 1.7 -VERSION="21.2.5" 1.8 +VERSION="22.2" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Erlang programming language." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="Erlang Public Licence" 1.13 -WEB_SITE="http://$PACKAGE.org/" 1.14 +WEB_SITE="https://www.erlang.org/" 1.15 1.16 -SOURCE="OTP" 1.17 -TARBALL="${SOURCE}-$VERSION.tar.gz" 1.18 -WGET_URL="https://github.com/$PACKAGE/otp/archive/$TARBALL" 1.19 +#SOURCE="OTP" 1.20 +#TARBALL="${SOURCE}-$VERSION.tar.gz" 1.21 +#WGET_URL="https://github.com/$PACKAGE/otp/archive/$TARBALL" 1.22 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.23 +WGET_URL="${WEB_SITE}download/otp_src_$VERSION.tar.gz" 1.24 1.25 -DEPENDS="ncurses openssl libunixODBC" 1.26 -BUILD_DEPENDS="autoconf perl ncurses-dev openssl-dev unixODBC-dev icedtea6-jdk \ 1.27 -wxWidgets-dev gcc+gcj libxslt" 1.28 +DEPENDS="libunixODBC ncurses openssl" 1.29 +BUILD_DEPENDS="autoconf gcc+gcj icedtea6-jdk libxslt ncurses-dev 1.30 + openssl-dev perl unixODBC-dev wxWidgets-dev" 1.31 1.32 # Rules to configure and make the package. 1.33 compile_rules() 1.34 @@ -25,27 +27,31 @@ 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 \ 1.41 - --mandir=/usr/share/man \ 1.42 - --infodir=/usr/share/info \ 1.43 + ./configure \ 1.44 + --prefix=/usr \ 1.45 + --sysconfdir=/etc \ 1.46 + --mandir=/usr/share/man \ 1.47 + --infodir=/usr/share/info \ 1.48 $CONFIGURE_ARGS && 1.49 - make -j 1 && 1.50 - make -j 1 INSTALL_PREFIX=$DESTDIR install || return 1 1.51 + make 2>&1 | sed 's|: No such file|: no such file|' && 1.52 + make INSTALL_PREFIX=$DESTDIR install || return 1 1.53 1.54 - for i in $DESTDIR/usr/lib/erlang/*/bin/erl $DESTDIR/usr/lib/erlang/bin/erl \ 1.55 - $DESTDIR/usr/lib/erlang/*/bin/start $DESTDIR/usr/lib/erlang/bin/start 1.56 - do 1.57 + for i in $DESTDIR/usr/lib/erlang/*/bin/erl \ 1.58 + $DESTDIR/usr/lib/erlang/bin/erl \ 1.59 + $DESTDIR/usr/lib/erlang/*/bin/start \ 1.60 + $DESTDIR/usr/lib/erlang/bin/start 1.61 + do 1.62 sed -i 's|^ROOTDIR=.*$|ROOTDIR=/usr/lib/erlang|' $i 1.63 - done 1.64 - for file in $(ls $DESTDIR/usr/bin); do 1.65 + done 1.66 + 1.67 + for file in $(ls $DESTDIR/usr/bin) 1.68 + do 1.69 ln -sf /usr/lib/erlang/bin/$file $DESTDIR/usr/bin/$file || return 1 1.70 - done 1.71 + done 1.72 } 1.73 1.74 # Rules to gen a SliTaz package suitable for Tazpkg. 1.75 genpkg_rules() 1.76 { 1.77 - cp -a $install/usr $fs 1.78 + cp -a $install/usr $fs 1.79 }