# HG changeset patch # User Pascal Bellard # Date 1376566918 0 # Node ID 34111a616f4e84c08691e1c92ab918a966bb68db # Parent b7f2302694219b11c72cbc39d36271800411681d bmpanel2: typo diff -r b7f230269421 -r 34111a616f4e bmpanel2/receipt --- a/bmpanel2/receipt Thu Aug 15 11:37:41 2013 +0000 +++ b/bmpanel2/receipt Thu Aug 15 11:41:58 2013 +0000 @@ -6,31 +6,32 @@ 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 python-dev xorg-libXext-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/files/$TARBALL" TAGS="panel window-manager wm" +DEPENDS="pango cairo xorg-libX11 xorg-libXrender" +BUILD_DEPENDS="cmake python-dev xorg-libXext-dev cairo-dev pango-dev" + # 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 + 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=$DESTDIR 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 -a $install/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 + cp -a $install/usr/share/$PACKAGE/themes/transpy $fs/usr/share/$PACKAGE/themes + cp -a $install/usr/share/$PACKAGE/themes/native $fs/usr/share/$PACKAGE/themes }