wok diff python-pyyaml/receipt @ rev 15146

cocoalib: create Makefile_dependencies (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:56:59 2013 +0000 (2013-08-15)
parents 36d46c4dcee0
children fd4f1e692109
line diff
     1.1 --- a/python-pyyaml/receipt	Fri Jun 26 01:17:10 2009 +0000
     1.2 +++ b/python-pyyaml/receipt	Thu Aug 15 12:56:59 2013 +0000
     1.3 @@ -6,22 +6,23 @@
     1.4  SHORT_DESC="YAML parser and emitter for the Python programming language."
     1.5  MAINTAINER="rocky@slitaz.org"
     1.6  SOURCE="PyYAML"
     1.7 -DEPENDS="python"
     1.8 -BUILD_DEPENDS="python python-dev"
     1.9  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://pyyaml.org/wiki/PyYAML/"
    1.11  WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL"
    1.12  
    1.13 +DEPENDS="python"
    1.14 +BUILD_DEPENDS="python python-dev yaml-dev"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19      cd $src
    1.20 -    python setup.py install --root=$PWD/_pkg
    1.21 +    python setup.py install --root=$DESTDIR
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27      mkdir -p $fs/usr
    1.28 -    cp -a $_pkg/usr $fs
    1.29 +    cp -a $install/usr $fs
    1.30  }