wok view bmpanel2/receipt @ rev 15142
bmpanel2: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 11:41:58 2013 +0000 (2013-08-15) |
parents | 59009b1c6878 |
children | 8d6f480bf664 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bmpanel2"
4 VERSION="2.1pre1"
5 CATEGORY="misc"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Nice NETWM-compatible panel for X11"
8 WEB_SITE="http://bmpanel2.googlecode.com/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$WEB_SITE/files/$TARBALL"
11 TAGS="panel window-manager wm"
13 DEPENDS="pango cairo xorg-libX11 xorg-libXrender"
14 BUILD_DEPENDS="cmake python-dev xorg-libXext-dev cairo-dev pango-dev"
16 # Rules to configure and make the package.
18 compile_rules() {
19 cd $src
20 # fix "with" statement for python 2.5
21 sed -i "s/import sys, os/from __future__ import with_statement \nimport sys, os /" extra/py/${PACKAGE}.py
22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE .
23 make
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/$PACKAGE/themes $fs/usr/bin
31 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
32 # cp only native and transpy themes
33 cp -a $install/usr/share/$PACKAGE/themes/transpy $fs/usr/share/$PACKAGE/themes
34 cp -a $install/usr/share/$PACKAGE/themes/native $fs/usr/share/$PACKAGE/themes
37 }