wok-next view micropython/receipt @ rev 17897
Add: perltidy
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Apr 02 22:07:09 2015 +0000 (2015-04-02) |
parents | 41942ece735f |
children | d43bf7aae921 |
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 }