wok diff python/receipt @ rev 7380

Up: bluez to 4.80.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 25 16:43:11 2010 +0000 (2010-11-25)
parents 5921dc28d8c6
children 15b3f14c3001
line diff
     1.1 --- a/python/receipt	Sat Oct 09 15:31:15 2010 +0200
     1.2 +++ b/python/receipt	Thu Nov 25 16:43:11 2010 +0000
     1.3 @@ -26,9 +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
     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  	rm -f $fs/usr/bin/*-config
    1.16  	strip -s $fs/usr/bin/* 2>/dev/null
    1.17  	strip -s $fs/usr/lib/*.so* 2>/dev/null