wok-next annotate pysolfc/receipt @ rev 14440
Up: expedite (1.7.6)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Apr 25 21:55:44 2013 +0200 (2013-04-25) |
parents | |
children | 2b9f96603415 |
rev | line source |
---|---|
claudinei@13967 | 1 # SliTaz package receipt. |
claudinei@13967 | 2 |
claudinei@13967 | 3 PACKAGE="pysolfc" |
claudinei@13967 | 4 SOURCE="PySolFC" |
claudinei@13967 | 5 VERSION="2.0" |
claudinei@13967 | 6 CATEGORY="games" |
claudinei@13967 | 7 SHORT_DESC="PySolFC is an extended version of PySol (a solitaire card game)" |
claudinei@13967 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@13967 | 9 WEB_SITE="http://sourceforge.net/projects/pysolfc" |
claudinei@13967 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
claudinei@13967 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
claudinei@13967 | 12 |
claudinei@13967 | 13 DEPENDS="python tk" |
claudinei@13967 | 14 BUILD_DEPENDS="$DEPENDS" |
claudinei@13967 | 15 |
claudinei@13967 | 16 # Rules to configure and make the package. |
claudinei@13967 | 17 compile_rules() |
claudinei@13967 | 18 { |
claudinei@13967 | 19 python setup.py install --prefix=$install/usr |
claudinei@13967 | 20 } |
claudinei@13967 | 21 |
claudinei@13967 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@13967 | 23 genpkg_rules() |
claudinei@13967 | 24 { |
claudinei@13967 | 25 find $install -type f -name "*.pyc" -delete 2>/dev/null |
claudinei@13967 | 26 cp -a $install/* $fs |
claudinei@13967 | 27 } |