wok-current rev 15142

bmpanel2: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 11:41:58 2013 +0000 (2013-08-15)
parents b7f230269421
children c45528294132
files bmpanel2/receipt
line diff
     1.1 --- a/bmpanel2/receipt	Thu Aug 15 11:37:41 2013 +0000
     1.2 +++ b/bmpanel2/receipt	Thu Aug 15 11:41:58 2013 +0000
     1.3 @@ -6,31 +6,32 @@
     1.4  MAINTAINER="jozee@slitaz.org"
     1.5  SHORT_DESC="Nice NETWM-compatible panel for X11"
     1.6  WEB_SITE="http://bmpanel2.googlecode.com/"
     1.7 -DEPENDS="pango cairo xorg-libX11 xorg-libXrender"
     1.8 -BUILD_DEPENDS="cmake python-dev xorg-libXext-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WGET_URL="$WEB_SITE/files/$TARBALL"
    1.11  TAGS="panel window-manager wm"
    1.12  
    1.13 +DEPENDS="pango cairo xorg-libX11 xorg-libXrender"
    1.14 +BUILD_DEPENDS="cmake python-dev xorg-libXext-dev cairo-dev pango-dev"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  
    1.18  compile_rules() {
    1.19 -  cd $src
    1.20 -  # fix "with" statement for python 2.5
    1.21 -  sed -i "s/import sys, os/from __future__ import with_statement \nimport sys, os /" extra/py/${PACKAGE}.py
    1.22 -  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . 
    1.23 -  make 
    1.24 -  make DESTDIR=$PWD/_pkg/ install
    1.25 +	cd $src
    1.26 +	# fix "with" statement for python 2.5
    1.27 +	sed -i "s/import sys, os/from __future__ import with_statement \nimport sys, os /" extra/py/${PACKAGE}.py
    1.28 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . 
    1.29 +	make 
    1.30 +	make DESTDIR=$DESTDIR install
    1.31  }
    1.32  	
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36  	mkdir -p $fs/usr/share/$PACKAGE/themes $fs/usr/bin
    1.37 -	cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
    1.38 +	cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
    1.39  		# cp only native and transpy themes
    1.40 -	cp -a $_pkg/usr/share/$PACKAGE/themes/transpy $fs/usr/share/$PACKAGE/themes
    1.41 -	cp -a $_pkg/usr/share/$PACKAGE/themes/native $fs/usr/share/$PACKAGE/themes
    1.42 +	cp -a $install/usr/share/$PACKAGE/themes/transpy $fs/usr/share/$PACKAGE/themes
    1.43 +	cp -a $install/usr/share/$PACKAGE/themes/native $fs/usr/share/$PACKAGE/themes
    1.44  	
    1.45  	
    1.46  }