wok annotate tinypy/receipt @ rev 15685

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:07 2013 +0100 (2013-12-21)
parents 866fa2493b1b
children 934055de50e2
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 }