wok diff python-serial/receipt @ rev 15986

elinks: remove deps on X and add elinks-small
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 01:30:05 2014 +0100 (2014-03-02)
parents 95bff0faad45
children 56939ad28d41
line diff
     1.1 --- a/python-serial/receipt	Thu Aug 06 18:21:47 2009 +0000
     1.2 +++ b/python-serial/receipt	Sun Mar 02 01:30:05 2014 +0100
     1.3 @@ -6,27 +6,29 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Multiplataform serial port module for python"
     1.6  MAINTAINER="claudinei@slitaz.org"
     1.7 -DEPENDS="python"
     1.8 -BUILD_DEPENDS="python python-dev"
     1.9 +LICENSE="BSD"
    1.10  TARBALL="$SOURCE-$VERSION.zip"
    1.11  WEB_SITE="http://pyserial.sourceforge.net"
    1.12  WGET_URL="$SF_MIRROR/$SOURCE/2.5/$TARBALL"
    1.13  
    1.14 +DEPENDS="python"
    1.15 +BUILD_DEPENDS="python python-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -	python setup.py install --root=$PWD/_pkg
    1.22 +	python setup.py install --root=$DESTDIR
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.29 +	for file in `find $install | grep 'pyc$'`; do
    1.30  		rm $file
    1.31  	done
    1.32  	mkdir -p $fs/usr
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/lib $fs/usr
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/lib $fs/usr
    1.37  }
    1.38