wok-6.x annotate pysolfc/receipt @ rev 20906
perl-glib: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 27 10:53:14 2019 +0100 (2019-02-27) |
parents | 2b9f96603415 |
children | 080c1dff8494 |
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" |
pascal@20421 | 10 WEB_SITE="https://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 } |