# HG changeset patch # User Rohit Joshi # Date 1287536291 14400 # Node ID 8347a77cb78e2d6e062b148bd9c0cf4d4b0ddf3c # Parent 0d39b71a9c8cc16532da83b9ba36a88ec4abedaf Add bmpanel2: mv from undigest diff -r 0d39b71a9c8c -r 8347a77cb78e bmpanel2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bmpanel2/receipt Tue Oct 19 20:58:11 2010 -0400 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="bmpanel2" +VERSION="2.1pre1" +CATEGORY="misc" +MAINTAINER="jozee@slitaz.org" +SHORT_DESC="Nice NETWM-compatible panel for X11" +WEB_SITE="http://bmpanel2.googlecode.com/" +DEPENDS="pango cairo xorg-libX11 xorg-libXrender" +BUILD_DEPENDS="cmake pango-dev cairo-dev xorg-libX11-dev xorg-libXrender-dev python-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/files/$TARBALL" +TAGS="panel window-manager wm" + +# Rules to configure and make the package. + +compile_rules() { + cd $src + # fix "with" statement for python 2.5 + sed -i "s/import sys, os/from __future__ import with_statement \nimport sys, os /" extra/py/${PACKAGE}.py + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . + make + make DESTDIR=$PWD/_pkg/ install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/$PACKAGE/themes $fs/usr/bin + cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin + # cp only native and transpy themes + cp -a $_pkg/usr/share/$PACKAGE/themes/transpy $fs/usr/share/$PACKAGE/themes + cp -a $_pkg/usr/share/$PACKAGE/themes/native $fs/usr/share/$PACKAGE/themes + + +} diff -r 0d39b71a9c8c -r 8347a77cb78e bmpanel2cfg/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bmpanel2cfg/receipt Tue Oct 19 20:58:11 2010 -0400 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="bmpanel2cfg" +VERSION="2.1pre1" +CATEGORY="misc" +MAINTAINER="jozee@slitaz.org" +SHORT_DESC="bmpanel2 configurator" +WEB_SITE="http://bmpanel2.googlecode.com/" +DEPENDS="pygtk" +WANTED="bmpanel2" +TAGS="window-manager wm panel" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/bin + cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin + cp -a $_pkg/usr/lib/python* $fs/usr/lib +}