wok diff bmpanel2/receipt @ rev 7727

Up: fsarchiver to 0.6.11. Made it work in clean chroot now too.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Dec 19 18:52:23 2010 +0000 (2010-12-19)
parents
children 59009b1c6878
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bmpanel2/receipt	Sun Dec 19 18:52:23 2010 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bmpanel2"
     1.7 +VERSION="2.1pre1"
     1.8 +CATEGORY="misc"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="Nice NETWM-compatible panel for X11"
    1.11 +WEB_SITE="http://bmpanel2.googlecode.com/"
    1.12 +DEPENDS="pango cairo xorg-libX11 xorg-libXrender"
    1.13 +BUILD_DEPENDS="cmake pango-dev  cairo-dev  xorg-libX11-dev  xorg-libXrender-dev python-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="$WEB_SITE/files/$TARBALL"
    1.16 +TAGS="panel window-manager wm"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +  cd $src
    1.22 +  # fix "with" statement for python 2.5
    1.23 +  sed -i "s/import sys, os/from __future__ import with_statement \nimport sys, os /" extra/py/${PACKAGE}.py
    1.24 +  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . 
    1.25 +  make 
    1.26 +  make DESTDIR=$PWD/_pkg/ install
    1.27 +}
    1.28 +	
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share/$PACKAGE/themes $fs/usr/bin
    1.33 +	cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
    1.34 +		# cp only native and transpy themes
    1.35 +	cp -a $_pkg/usr/share/$PACKAGE/themes/transpy $fs/usr/share/$PACKAGE/themes
    1.36 +	cp -a $_pkg/usr/share/$PACKAGE/themes/native $fs/usr/share/$PACKAGE/themes
    1.37 +	
    1.38 +	
    1.39 +}