wok-6.x view micropython/receipt @ rev 17326
Add sshpass
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 05 09:25:00 2014 +0100 (2014-11-05) |
parents | |
children | b942370ae50f |
line source
1 # SliTaz package receipt.
3 PACKAGE="micropython"
4 VERSION="1.0.1"
5 CATEGORY="development"
6 SHORT_DESC="The Micro Python project"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://micropython.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
13 DEPENDS="readline libffi"
14 BUILD_DEPENDS="wget git readline-dev libffi-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|bash|sh|' $src/py/py-version.sh
20 sed -i 's|-lreadline|& -lncurses -ldl|' $src/unix/Makefile
22 cd unix
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $src/unix/micropython $fs/usr/bin
31 }