wok-6.x rev 7467
Fix adding pyconfig.h to python package again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 01 04:37:14 2010 +0000 (2010-12-01) |
parents | 6f6b86816a09 |
children | 5018a93309ab |
files | python-dev/receipt python/receipt |
line diff
1.1 --- a/python-dev/receipt Tue Nov 30 23:27:54 2010 +0000 1.2 +++ b/python-dev/receipt Wed Dec 01 04:37:14 2010 +0000 1.3 @@ -18,6 +18,6 @@ 1.4 cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/bin/*-config $fs/usr/bin 1.5 chmod 755 $fs/usr/bin/*-config 1.6 # in python package now 1.7 - rm $fs/usr/include/${PACKAGE}${VERSION}/pyconfig.h 1.8 + rm $fs/usr/include/${PACKAGE}${VERSION%.*}/pyconfig.h 1.9 } 1.10
2.1 --- a/python/receipt Tue Nov 30 23:27:54 2010 +0000 2.2 +++ b/python/receipt Wed Dec 01 04:37:14 2010 +0000 2.3 @@ -26,13 +26,13 @@ 2.4 # Rules to gen a SliTaz package suitable for Tazpkg. 2.5 genpkg_rules() 2.6 { 2.7 - mkdir -p $fs/usr/include/${PACKAGE}${VERSION} 2.8 + mkdir -p $fs/usr/include/${PACKAGE}${VERSION%.*} 2.9 cp -a $_pkg/usr/bin $fs/usr 2.10 cp -a $_pkg/usr/lib $fs/usr 2.11 # needed for mericurial to work now 2.12 cp -a $_pkg/usr/include/${PACKAGE}${VERSION%.*}/pyconfig.h $fs/usr/include/${PACKAGE}${VERSION%.*} 2.13 - find $fs/usr/lib/${PACKAGE}${VERSION} -name "*.pyc" -delete 2.14 - find $fs/usr/lib/${PACKAGE}${VERSION} -name "*.pyo" -delete 2.15 + find $fs/usr/lib/${PACKAGE}${VERSION%.*} -name "*.pyc" -delete 2.16 + find $fs/usr/lib/${PACKAGE}${VERSION%.*} -name "*.pyo" -delete 2.17 rm -f $fs/usr/bin/*-config 2.18 strip -s $fs/usr/bin/* 2>/dev/null 2.19 strip -s $fs/usr/lib/*.so* 2>/dev/null