wok-current rev 17725

Up libmatemixer, libmateweather: change files to be moved
author Yuri Pourre <yuripourre@gmail.com>
date Thu Mar 05 17:41:58 2015 -0300 (2015-03-05)
parents 0c4f0fe6d476
children 518204624cc3
files libmatemixer-dev/receipt libmatemixer/receipt libmateweather-dev/receipt libmateweather/receipt
line diff
     1.1 --- a/libmatemixer-dev/receipt	Thu Mar 05 19:08:32 2015 +0100
     1.2 +++ b/libmatemixer-dev/receipt	Thu Mar 05 17:41:58 2015 -0300
     1.3 @@ -13,6 +13,7 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	mkdir -p $fs/usr/lib $fs/usr/include
     1.7 -	cp -a $install/usr/include $fs/usr
     1.8 -	cp -a $install/usr/lib     $fs/usr
     1.9 +	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.10 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.11 +	cp -a $install/usr/include/* $fs/usr/include
    1.12  }
     2.1 --- a/libmatemixer/receipt	Thu Mar 05 19:08:32 2015 +0100
     2.2 +++ b/libmatemixer/receipt	Thu Mar 05 17:41:58 2015 -0300
     2.3 @@ -30,6 +30,7 @@
     2.4  
     2.5  genpkg_rules()
     2.6  {
     2.7 -	mkdir -p $fs/usr/share
     2.8 +	mkdir -p $fs/usr/lib $fs/usr/share
     2.9 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.10  	cp -a $install/usr/share $fs/usr
    2.11  }
     3.1 --- a/libmateweather-dev/receipt	Thu Mar 05 19:08:32 2015 +0100
     3.2 +++ b/libmateweather-dev/receipt	Thu Mar 05 17:41:58 2015 -0300
     3.3 @@ -12,6 +12,8 @@
     3.4  
     3.5  genpkg_rules()
     3.6  {
     3.7 -	mkdir -p $fs/usr/include
     3.8 -	cp -a $install/usr/include $fs/usr
     3.9 +	mkdir -p $fs/usr/lib $fs/usr/include
    3.10 +	cp -a $install/usr/lib/*.la $fs/usr/lib
    3.11 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.12 +	cp -a $install/usr/include/* $fs/usr/include
    3.13  }
     4.1 --- a/libmateweather/receipt	Thu Mar 05 19:08:32 2015 +0100
     4.2 +++ b/libmateweather/receipt	Thu Mar 05 17:41:58 2015 -0300
     4.3 @@ -30,6 +30,20 @@
     4.4  
     4.5  genpkg_rules()
     4.6  {
     4.7 -	mkdir -p $fs/usr
     4.8 +	mkdir -p $fs/usr/lib $fs/usr/share
     4.9 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.10  	cp -a $install/usr/share $fs/usr
    4.11  }
    4.12 +
    4.13 +# Post install/remove commands for Tazpkg.
    4.14 +post_install()
    4.15 +{
    4.16 +	echo "Processing post-install commands..."
    4.17 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    4.18 +}
    4.19 +
    4.20 +post_remove()
    4.21 +{ 
    4.22 +	echo "Processing post-remove commands..."
    4.23 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    4.24 +}