wok rev 15938
Add obshutdown (GTK Ob logout manager)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 19:22:43 2014 +0100 (2014-02-22) |
parents | 41794be0da15 |
children | 8d88f159eced |
files | compiz-core/receipt obshutdown/receipt |
line diff
1.1 --- a/compiz-core/receipt Sat Feb 22 16:55:06 2014 +0100 1.2 +++ b/compiz-core/receipt Sat Feb 22 19:22:43 2014 +0100 1.3 @@ -26,7 +26,7 @@ 1.4 mkdir build && cd build 1.5 cmake \ 1.6 -DCMAKE_INSTALL_PREFIX="/usr" \ 1.7 - -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \ 1.8 + -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \ 1.9 -DCOMPIZ_DESTDIR="../../install" .. && 1.10 make -j 1 && make install && 1.11 make findcompiz_install
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/obshutdown/receipt Sat Feb 22 19:22:43 2014 +0100 2.3 @@ -0,0 +1,39 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="obshutdown" 2.7 +VERSION="0.1-rc1" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="Light Openbox shutdown manager" 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +TARBALL="${PACKAGE}-${VERSION}.tar.gz" 2.13 +WEB_SITE="https://github.com/panjandrum/obshutdown" 2.14 +WGET_URL="https://github.com/downloads/panjandrum/$PACKAGE/$TARBALL" 2.15 + 2.16 +DEPENDS="gtk+ cairo openbox" 2.17 +BUILD_DEPENDS="gtk+-dev cairo-dev wget" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + ./configure $CONFIGURE_ARGS && 2.23 + IFS=$(echo -en "\n\b") 2.24 + for i in $(grep -lr "#include <glib" src/) 2.25 + do 2.26 + sed -i 's/#include <glib\/.*>/#include <glib\.h>/g' "$i" 2.27 + done && 2.28 + make && make install 2.29 +} 2.30 + 2.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.32 +genpkg_rules() 2.33 +{ 2.34 + mkdir -p $fs 2.35 + cp -r $install/usr $fs 2.36 +} 2.37 + 2.38 +post_install() 2.39 +{ 2.40 + colorize 36 "To get per user config file:" 2.41 + echo "$ cp /usr/share/obshutdown/example.rc ~/.obshutdown.rc" 2.42 +}