wok diff dbus-python-dev/receipt @ rev 13962

Up cookutils (3.1.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 31 09:04:37 2013 +0100 (2013-01-31)
parents 44149159a946
children c1481e1d02ec
line diff
     1.1 --- a/dbus-python-dev/receipt	Mon Oct 17 02:44:24 2011 +0000
     1.2 +++ b/dbus-python-dev/receipt	Thu Jan 31 09:04:37 2013 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dbus-python-dev"
     1.7 -VERSION="0.84.0"
     1.8 +VERSION="1.0.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="D-Bus python binding devel files."
    1.11  DEPENDS="dbus-python"
    1.12 @@ -12,10 +12,9 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    1.17 -	mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages
    1.18 -	cp -a $install/usr/lib/python*/*/*.la \
    1.19 -		$fs/usr/lib/$PYTHON_LIB/site-packages
    1.20 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.21 +	mkdir -p $fs/usr
    1.22 +	cp -a $install/usr/lib $fs/usr
    1.23  	cp -a $install/usr/include $fs/usr
    1.24 +	rm -rf $fs/usr/lib/*/site-packages/dbus
    1.25 +	rm -rf $fs/usr/lib/*/site-packages/*.so
    1.26  }