wok-next annotate pysolfc/receipt @ rev 17477
isolinux/iso2exe: need /dev/tty0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 29 18:33:00 2014 +0100 (2014-12-29) |
parents | caf70f451921 |
children | b15beafb58c2 |
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" |
pascal@14999 | 9 LICENSE="GPL3" |
claudinei@13967 | 10 WEB_SITE="http://sourceforge.net/projects/pysolfc" |
claudinei@13967 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
claudinei@13967 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
claudinei@13967 | 13 |
claudinei@13967 | 14 DEPENDS="python tk" |
claudinei@13967 | 15 BUILD_DEPENDS="$DEPENDS" |
claudinei@13967 | 16 |
claudinei@13967 | 17 # Rules to configure and make the package. |
claudinei@13967 | 18 compile_rules() |
claudinei@13967 | 19 { |
claudinei@13967 | 20 python setup.py install --prefix=$install/usr |
claudinei@13967 | 21 } |
claudinei@13967 | 22 |
claudinei@13967 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@13967 | 24 genpkg_rules() |
claudinei@13967 | 25 { |
claudinei@13967 | 26 find $install -type f -name "*.pyc" -delete 2>/dev/null |
claudinei@13967 | 27 cp -a $install/* $fs |
claudinei@13967 | 28 } |