wok-current view micropython/receipt @ rev 20672

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 14:51:04 2019 +0100 (2019-01-24)
parents 41942ece735f
children 5ea0ce1cecc0
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 pkg-config"
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 -lffi|' $src/unix/Makefile
22 cd unix
23 make -j 1
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 }