wok-next view bmpanel2/receipt @ rev 21071

Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 13 00:46:54 2018 +0200 (2018-12-13)
parents c022997c7a57
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bmpanel2"
4 VERSION="2.1pre1"
5 CATEGORY="misc"
6 SHORT_DESC="Nice NETWM-compatible panel for X11"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/nsf/bmpanel2"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/nsf/bmpanel2/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake xorg-libX11-dev cairo-dev pango-dev"
15 SPLIT="$PACKAGE-themes bmpanel2cfg"
17 compile_rules() {
18 # fix "with" statement for python 2.5
19 sed -i "s/import sys, os/from __future__ import with_statement \nimport sys, os /" extra/py/$PACKAGE.py
21 mkdir build; cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_BUILD_TYPE=RELEASE \
25 .. &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 bmpanel2)
33 copy bmpanel2 native/ transpy/
34 DEPENDS="cairo glib pango xorg-libX11 xorg-libXext"
35 TAGS="panel"
36 ;;
37 bmpanel2-themes)
38 copy themes/ @rm
39 CAT="customization|themes"
40 ;;
41 bmpanel2cfg)
42 copy bmpanel2cfg python2.7/
43 CAT="misc|configurator"
44 DEPENDS="bmpanel2 python python-pygtk"
45 ;;
46 esac
47 }