wok-4.x diff python/receipt @ 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 | 4766de726ffe |
children | 5018a93309ab |
line diff
1.1 --- a/python/receipt Tue Nov 30 21:23:19 2010 +0000 1.2 +++ b/python/receipt Wed Dec 01 04:37:14 2010 +0000 1.3 @@ -26,13 +26,13 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/include/${PACKAGE}${VERSION} 1.8 + mkdir -p $fs/usr/include/${PACKAGE}${VERSION%.*} 1.9 cp -a $_pkg/usr/bin $fs/usr 1.10 cp -a $_pkg/usr/lib $fs/usr 1.11 # needed for mericurial to work now 1.12 cp -a $_pkg/usr/include/${PACKAGE}${VERSION%.*}/pyconfig.h $fs/usr/include/${PACKAGE}${VERSION%.*} 1.13 - find $fs/usr/lib/${PACKAGE}${VERSION} -name "*.pyc" -delete 1.14 - find $fs/usr/lib/${PACKAGE}${VERSION} -name "*.pyo" -delete 1.15 + find $fs/usr/lib/${PACKAGE}${VERSION%.*} -name "*.pyc" -delete 1.16 + find $fs/usr/lib/${PACKAGE}${VERSION%.*} -name "*.pyo" -delete 1.17 rm -f $fs/usr/bin/*-config 1.18 strip -s $fs/usr/bin/* 2>/dev/null 1.19 strip -s $fs/usr/lib/*.so* 2>/dev/null