wok-next diff python-simplejson/receipt @ rev 16229

fpc-bootstrap: prepare multi arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 01 08:34:15 2014 +0000 (2014-04-01)
parents 53f06e703bed
children 048c66ed11ec
line diff
     1.1 --- a/python-simplejson/receipt	Thu Feb 03 16:52:53 2011 +0000
     1.2 +++ b/python-simplejson/receipt	Tue Apr 01 08:34:15 2014 +0000
     1.3 @@ -6,9 +6,11 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python."
     1.6  MAINTAINER="claudinei@slitaz.org"
     1.7 +LICENSE="MIT"
     1.8  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://pypi.python.org/pypi/simplejson"
    1.10  WGET_URL="http://pypi.python.org/packages/source/s/$SOURCE/$TARBALL"
    1.11 +
    1.12  DEPENDS="python"
    1.13  BUILD_DEPENDS="python-dev setuptools"
    1.14  
    1.15 @@ -17,14 +19,14 @@
    1.16  {
    1.17  	cd $src
    1.18  	python setup.py build
    1.19 -	python setup.py install --root=$PWD/_pkg
    1.20 +	python setup.py install --root=$DESTDIR
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26  	mkdir -p $fs/usr
    1.27 -	cp -a $_pkg/usr/lib $fs/usr
    1.28 +	cp -a $install/usr/lib $fs/usr
    1.29  }
    1.30  
    1.31  # Remove old package.