wok-next diff python/receipt @ rev 6825

Add liblo: mv from undigest
author Rohit Joshi <jozee@slitaz.org>
date Tue Oct 19 21:07:40 2010 -0400 (2010-10-19)
parents 5921dc28d8c6
children 15b3f14c3001
line diff
     1.1 --- a/python/receipt	Sat Oct 09 15:31:15 2010 +0200
     1.2 +++ b/python/receipt	Tue Oct 19 21:07:40 2010 -0400
     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