wok-6.x annotate pysolfc/receipt @ rev 14175
Up linux (3.2.40)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 10 13:32:17 2013 +0100 (2013-03-10) |
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 } |