wok-current rev 7469
Fix removing pyconfig.h file from python-dev.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 01 16:49:17 2010 +0000 (2010-12-01) |
parents | 5018a93309ab |
children | de65a7ac7459 |
files | python-dev/receipt |
line diff
1.1 --- a/python-dev/receipt Wed Dec 01 15:49:29 2010 +0100 1.2 +++ b/python-dev/receipt Wed Dec 01 16:49:17 2010 +0000 1.3 @@ -13,11 +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-$VERSION/_pkg/usr/include $fs/usr 1.10 - cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/bin/*-config $fs/usr/bin 1.11 + cp -a $WOK/$WANTED/$SOURCE-$python_version/_pkg/usr/include $fs/usr 1.12 + cp -a $WOK/$WANTED/$SOURCE-$python_version/_pkg/usr/bin/*-config $fs/usr/bin 1.13 chmod 755 $fs/usr/bin/*-config 1.14 # in python package now 1.15 - rm $fs/usr/include/${PACKAGE}${VERSION%.*}/pyconfig.h 1.16 + rm $fs/usr/include/${WANTED}$python_version/pyconfig.h 1.17 } 1.18