wok-6.x rev 19959

slim-theme-control: add compile_rules(); files processing following it.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 20 15:38:00 2017 +0300 (2017-05-20)
parents 16bbdc96072c
children 4b2bd5a4b92c
files slim-theme-control/receipt
line diff
     1.1 --- a/slim-theme-control/receipt	Fri May 19 05:31:35 2017 +0300
     1.2 +++ b/slim-theme-control/receipt	Sat May 20 15:38:00 2017 +0300
     1.3 @@ -12,12 +12,18 @@
     1.4  DEPENDS="slim slitaz-configs-base"
     1.5  BUILD_DEPENDS=""
     1.6  
     1.7 +# Rules to configure and make the package.
     1.8 +compile_rules()
     1.9 +{
    1.10 +	theme=$install/usr/share/slim/themes/control
    1.11 +	mkdir -p $theme
    1.12 +	cp -a $stuff/* $theme
    1.13 +}
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
    1.18 -	theme=$fs/usr/share/slim/themes/control
    1.19 -	mkdir -p $theme
    1.20 -	cp -a $stuff/* $theme
    1.21 +	cp -a $install/* $fs
    1.22  }
    1.23  
    1.24  post_install()