wok-current diff micropython/receipt @ rev 16789
Add zeromq
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 02 11:03:41 2014 +0200 (2014-07-02) |
parents | |
children | b942370ae50f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/micropython/receipt Wed Jul 02 11:03:41 2014 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="micropython" 1.7 +VERSION="1.0.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Micro Python project" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="http://micropython.org/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="readline libffi" 1.17 +BUILD_DEPENDS="wget git readline-dev libffi-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + sed -i 's|bash|sh|' $src/py/py-version.sh 1.23 + sed -i 's|-lreadline|& -lncurses -ldl|' $src/unix/Makefile 1.24 + 1.25 + cd unix 1.26 + make 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/bin 1.33 + cp -a $src/unix/micropython $fs/usr/bin 1.34 +}