wok-next view micropython/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d43bf7aae921 |
children | b7dccb922cf7 |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="git readline-dev libffi-dev"
16 compile_rules() {
17 sed -i 's|bash|sh|' $src/py/py-version.sh
18 sed -i 's|-lreadline|& -lncurses -ldl -lffi|' $src/unix/Makefile
20 cd unix
21 make -j1
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr/bin
26 cp -a $src/unix/micropython $fs/usr/bin
27 DEPENDS="readline libffi"
28 }