wok view bmpanel2/receipt @ rev 23975
Up matio (1.5.18), mutt (1.14.7), nasm (2.15.05), net-snmp (5.9), nethack (3.6.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 28 17:24:13 2020 +0000 (2020-10-28) |
parents | 5d53e8ccbc8d |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bmpanel2"
4 VERSION="2.1pre1"
5 CATEGORY="misc"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="MIT"
8 SHORT_DESC="Nice NETWM-compatible panel for X11"
9 WEB_SITE="https://github.com/nsf/bmpanel2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="panel"
14 DEPENDS="pango cairo xorg-libX11 xorg-libXrender"
15 BUILD_DEPENDS="cmake python-dev xorg-libXext-dev cairo-dev pango-dev"
17 # Rules to configure and make the package.
19 compile_rules() {
20 cd $src
21 # fix "with" statement for python 2.5
22 sed -i "s/import sys, os/from __future__ import with_statement \nimport sys, os /" extra/py/${PACKAGE}.py
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE .
24 make
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/$PACKAGE/themes $fs/usr/bin
32 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
33 # cp only native and transpy themes
34 cp -a $install/usr/share/$PACKAGE/themes/transpy $fs/usr/share/$PACKAGE/themes
35 cp -a $install/usr/share/$PACKAGE/themes/native $fs/usr/share/$PACKAGE/themes
38 }