wok-next diff erlang/receipt @ rev 21047
Up tazpkg (971), cookutils (1095)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 26 21:15:05 2018 +0200 (2018-11-26) |
parents | 757d032c55c7 |
children |
line diff
1.1 --- a/erlang/receipt Fri Mar 30 19:31:50 2018 +0300 1.2 +++ b/erlang/receipt Mon Nov 26 21:15:05 2018 +0200 1.3 @@ -6,7 +6,7 @@ 1.4 SHORT_DESC="Erlang programming language" 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="other" 1.7 -WEB_SITE="http://$PACKAGE.org/" 1.8 +WEB_SITE="http://www.erlang.org/" 1.9 1.10 SOURCE="otp_src" 1.11 TARBALL="${SOURCE}_$VERSION.tar.gz" 1.12 @@ -19,19 +19,19 @@ 1.13 sed -i 's|./Install|sh -x Install|' Makefile* 1.14 1.15 ./configure $CONFIGURE_ARGS && 1.16 - make -j 1 && 1.17 - make -j 1 INSTALL_PREFIX=$DESTDIR install || return 1 1.18 + make -j1 && 1.19 + make -j1 INSTALL_PREFIX=$install install || return 1 1.20 1.21 for i in \ 1.22 - $DESTDIR/usr/lib/erlang/*/bin/erl \ 1.23 - $DESTDIR/usr/lib/erlang/bin/erl \ 1.24 - $DESTDIR/usr/lib/erlang/*/bin/start \ 1.25 - $DESTDIR/usr/lib/erlang/bin/start 1.26 + $install/usr/lib/erlang/*/bin/erl \ 1.27 + $install/usr/lib/erlang/bin/erl \ 1.28 + $install/usr/lib/erlang/*/bin/start \ 1.29 + $install/usr/lib/erlang/bin/start 1.30 do 1.31 sed -i 's|^ROOTDIR=.*$|ROOTDIR=/usr/lib/erlang|' $i 1.32 done 1.33 - for file in $(ls $DESTDIR/usr/bin); do 1.34 - ln -sf /usr/lib/erlang/bin/$file $DESTDIR/usr/bin/$file || return 1 1.35 + for file in $(ls $install/usr/bin); do 1.36 + ln -sf /usr/lib/erlang/bin/$file $install/usr/bin/$file || return 1 1.37 done 1.38 } 1.39