wok-6.x rev 7470

Fixed python-dev again.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Dec 01 17:54:03 2010 +0000 (2010-12-01)
parents 4387a98222dc
children d80becd997d7
files python-dev/receipt
line diff
     1.1 --- a/python-dev/receipt	Wed Dec 01 16:49:17 2010 +0000
     1.2 +++ b/python-dev/receipt	Wed Dec 01 17:54:03 2010 +0000
     1.3 @@ -13,12 +13,12 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	python_version=${VERSION:0:3}
     1.8  	mkdir -p $fs/usr/bin
     1.9 -	cp -a $WOK/$WANTED/$SOURCE-$python_version/_pkg/usr/include $fs/usr
    1.10 -	cp -a $WOK/$WANTED/$SOURCE-$python_version/_pkg/usr/bin/*-config $fs/usr/bin
    1.11 +	cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/include $fs/usr
    1.12 +	cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/bin/*-config $fs/usr/bin
    1.13  	chmod 755 $fs/usr/bin/*-config
    1.14  	# in python package now
    1.15 +	python_version=${VERSION:0:3}
    1.16  	rm $fs/usr/include/${WANTED}$python_version/pyconfig.h
    1.17  }
    1.18