wok-next diff tinypy/receipt @ rev 20854

Add xa, libicns; up vice (3.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 14:16:09 2018 +0300 (2018-06-26)
parents 23c3aed67cd9
children d5aab818505e
line diff
     1.1 --- a/tinypy/receipt	Thu Dec 05 20:23:08 2013 +0000
     1.2 +++ b/tinypy/receipt	Tue Jun 26 14:16:09 2018 +0300
     1.3 @@ -1,29 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="tinypy"
     1.8  VERSION="1.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A minimalist implementation of Python."
    1.11 +SHORT_DESC="A minimalist implementation of Python"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="http://www.tinypy.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.tinypy.org/"
    1.18  WGET_URL="http://tinypy.googlecode.com/files/$TARBALL"
    1.19 -TAGS="python"
    1.20  
    1.21 -DEPENDS="glibc-base"
    1.22  BUILD_DEPENDS="python-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	python setup.py linux
    1.29 +compile_rules() {
    1.30 +	python setup.py linux &&
    1.31 +	install -Dm755 $src/build/tinypy $install/usr/bin/tinypy
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr/bin
    1.38 -	cp -a $src/build/tinypy $fs/usr/bin
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41 +	DEPENDS="glibc-base"
    1.42 +	TAGS="python"
    1.43  }