wok-next rev 21368
updated micropython (1.0.1 -> 1.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 09:40:18 2020 +0100 (2020-04-16) |
parents | 137aa1cf5f85 |
children | 2d9aa7f3b587 |
files | micropython/receipt |
line diff
1.1 --- a/micropython/receipt Thu Apr 16 09:30:10 2020 +0100 1.2 +++ b/micropython/receipt Thu Apr 16 09:40:18 2020 +0100 1.3 @@ -1,28 +1,33 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="micropython" 1.7 -VERSION="1.0.1" 1.8 +VERSION="1.12" 1.9 CATEGORY="development" 1.10 SHORT_DESC="The Micro Python project" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 LICENSE="MIT" 1.13 -WEB_SITE="http://micropython.org/" 1.14 +WEB_SITE="https://micropython.org/" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" 1.18 1.19 -BUILD_DEPENDS="git readline-dev libffi-dev" 1.20 +BUILD_DEPENDS="git libffi-dev readline-dev" 1.21 1.22 -compile_rules() { 1.23 - sed -i 's|bash|sh|' $src/py/py-version.sh 1.24 - sed -i 's|-lreadline|& -lncurses -ldl -lffi|' $src/unix/Makefile 1.25 +compile_rules() 1.26 +{ 1.27 + sed -i 's|bash|sh|' \ 1.28 + $src/py/py-version.sh 1.29 + sed -i 's|-lreadline|& -lncurses -ldl -lffi|' \ 1.30 + $src/unix/Makefile 1.31 1.32 cd unix 1.33 make -j1 1.34 } 1.35 1.36 -genpkg_rules() { 1.37 +genpkg_rules() 1.38 +{ 1.39 mkdir -p $fs/usr/bin 1.40 - cp -a $src/unix/micropython $fs/usr/bin 1.41 + 1.42 + cp -a $src/unix/micropython $fs/usr/bin 1.43 DEPENDS="readline libffi" 1.44 }