wok rev 12418
Split razorqt-power (with upower dep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 20 18:40:22 2012 +0200 (2012-04-20) |
parents | e20ef155330b |
children | a821dde0c5ae |
files | razorqt-power/receipt razorqt/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/razorqt-power/receipt Fri Apr 20 18:40:22 2012 +0200 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="razorqt-power" 1.7 +VERSION="0.4.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="RazorQT Apps switcher plugin." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="razorqt" 1.12 +WEB_SITE="http://razor-qt.org/" 1.13 + 1.14 +DEPENDS="razor-qt upower" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/bin $fs/usr/share/razor 1.20 + cp -a $install/usr/bin/razor-power $fs/usr/bin 1.21 + cp -a $install/usr/share/razor/razor-power \ 1.22 + $fs/usr/share/razor 1.23 +}
2.1 --- a/razorqt/receipt Fri Apr 20 18:38:50 2012 +0200 2.2 +++ b/razorqt/receipt Fri Apr 20 18:40:22 2012 +0200 2.3 @@ -8,10 +8,10 @@ 2.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.5 WEB_SITE="http://razor-qt.org/" 2.6 WGET_URL="https://github.com/downloads/Razor-qt/razor-qt/$TARBALL" 2.7 -SUGGESTED="razorqt-themes razorqt-appswitcher" 2.8 +SUGGESTED="razorqt-themes razorqt-appswitcher razorqt-power" 2.9 2.10 DEPENDS="xorg-libX11 libQtCore libQtDBus libQtGui libQtScript libmagic" 2.11 -BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev" 2.12 +BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev upower-dev" 2.13 # polkit-dev polkit-qt-dev doxygen 2.14 2.15 # Rules to configure and make the package. 2.16 @@ -25,12 +25,14 @@ 2.17 # Rules to gen a SliTaz package suitable for Tazpkg. 2.18 genpkg_rules() 2.19 { 2.20 - mkdir -p $fs/usr/lib $fs/usr/share 2.21 + mkdir -p $fs/usr/lib $fs/usr/share/xsessions 2.22 # Use SliTaz XDG Menu 2.23 #cp -a $install/etc $fs 2.24 cp -a $install/usr/bin $fs/usr 2.25 + cp -f $install/usr/share/xsessions/razor.desktop \ 2.26 + $fs/usr/share/xsessions 2.27 2.28 - # Split plugins ? 2.29 + # Split more plugins ? 2.30 cp -a $install/usr/lib/*.so* $fs/usr/lib 2.31 cp -a $install/usr/lib/razor-* $fs/usr/lib 2.32 cp -a $install/usr/share/librazorqt $fs/usr/share 2.33 @@ -39,6 +41,10 @@ 2.34 # Appswitcher --> razorqt-appswitcher 2.35 rm -f $fs/usr/bin/razor-appswitcher 2.36 2.37 + # Power --> razorqt-power 2.38 + rm -f $fs/usr/bin/razor-power 2.39 + rm -rf $fs/usr/share/razor/razor-power 2.40 + 2.41 # Themes --> razorqt-themes 2.42 rm -rf $fs/usr/share/razor/themes 2.43 mkdir -p $fs/usr/share/razor/themes