wok-next annotate tinypy/receipt @ rev 20322

Up TeXmacs (1.0.7.18), linux-dev (4.9.30)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 11 18:54:50 2017 +0100 (2017-11-11)
parents 866fa2493b1b
children da9e80c5d4bb
rev   line source
pankso@4323 1 # SliTaz package receipt.
pankso@4323 2
pankso@4323 3 PACKAGE="tinypy"
pankso@4323 4 VERSION="1.1"
pankso@4323 5 CATEGORY="development"
pankso@4323 6 SHORT_DESC="A minimalist implementation of Python."
pankso@4323 7 MAINTAINER="pankso@slitaz.org"
pascal@15601 8 LICENSE="MIT"
pankso@4323 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4323 10 WEB_SITE="http://www.tinypy.org/"
pankso@4323 11 WGET_URL="http://tinypy.googlecode.com/files/$TARBALL"
jozee@4973 12 TAGS="python"
pankso@4323 13
pascal@15601 14 DEPENDS="glibc-base"
pascal@15601 15 BUILD_DEPENDS="python-dev"
pascal@15601 16
pankso@4323 17 # Rules to configure and make the package.
pankso@4323 18 compile_rules()
pankso@4323 19 {
pankso@4323 20 cd $src
pankso@4323 21 python setup.py linux
pankso@4323 22 }
pankso@4323 23
pankso@4323 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4323 25 genpkg_rules()
pankso@4323 26 {
pankso@4323 27 mkdir -p $fs/usr/bin
pankso@4323 28 cp -a $src/build/tinypy $fs/usr/bin
pankso@4323 29 }