wok view micropython/receipt @ rev 17133

Up: mc (4.8.13)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Sep 09 23:53:10 2014 +0200 (2014-09-09)
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 }