# HG changeset patch # User Christophe Lincoln # Date 1393093363 -3600 # Node ID 1810c4d44a488edd1f30c6a71c9448e7b2230198 # Parent 41794be0da159ab97e539cb215011a03aa9284d7 Add obshutdown (GTK Ob logout manager) diff -r 41794be0da15 -r 1810c4d44a48 compiz-core/receipt --- a/compiz-core/receipt Sat Feb 22 16:55:06 2014 +0100 +++ b/compiz-core/receipt Sat Feb 22 19:22:43 2014 +0100 @@ -26,7 +26,7 @@ mkdir build && cd build cmake \ -DCMAKE_INSTALL_PREFIX="/usr" \ - -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \ + -DCOMPIZ_DISABLE_PLUGIN_KDE=ON \ -DCOMPIZ_DESTDIR="../../install" .. && make -j 1 && make install && make findcompiz_install diff -r 41794be0da15 -r 1810c4d44a48 obshutdown/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obshutdown/receipt Sat Feb 22 19:22:43 2014 +0100 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="obshutdown" +VERSION="0.1-rc1" +CATEGORY="x-window" +SHORT_DESC="Light Openbox shutdown manager" +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +TARBALL="${PACKAGE}-${VERSION}.tar.gz" +WEB_SITE="https://github.com/panjandrum/obshutdown" +WGET_URL="https://github.com/downloads/panjandrum/$PACKAGE/$TARBALL" + +DEPENDS="gtk+ cairo openbox" +BUILD_DEPENDS="gtk+-dev cairo-dev wget" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && + IFS=$(echo -en "\n\b") + for i in $(grep -lr "#include /#include /g' "$i" + done && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -r $install/usr $fs +} + +post_install() +{ + colorize 36 "To get per user config file:" + echo "$ cp /usr/share/obshutdown/example.rc ~/.obshutdown.rc" +}